summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar nandika2012-12-26 16:59:41 +0000
committerGravatar nandika2012-12-26 16:59:41 +0000
commit01b970dc30d1839cb59fc39c48593cd536aea361 (patch)
treed48a185e7630304a69eb0baefae7c152a51ef7a3 /src
parent2b169c74ad09bdf45f2f342e83631d9d740267a7 (diff)
downloadaxis2c-01b970dc30d1839cb59fc39c48593cd536aea361.tar.gz
axis2c-01b970dc30d1839cb59fc39c48593cd536aea361.tar.bz2
added missing soap version setting when setting response soap envelope
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1425967 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/core/context/msg_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/context/msg_ctx.c b/src/core/context/msg_ctx.c
index 4bc5ff7..7a1523e 100644
--- a/src/core/context/msg_ctx.c
+++ b/src/core/context/msg_ctx.c
@@ -836,6 +836,7 @@ axis2_msg_ctx_set_response_soap_envelope(
{
int soap_v = AXIOM_SOAP12;
soap_v = axiom_soap_envelope_get_soap_version(soap_envelope, env);
+ msg_ctx->is_soap_11 = (soap_v == AXIOM_SOAP12) ? AXIS2_FALSE : AXIS2_TRUE;
msg_ctx->response_soap_envelope = soap_envelope;
}
else