You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2012/12/26 17:59:41 UTC

svn commit: r1425967 - /axis/axis2/c/core/trunk/src/core/context/msg_ctx.c

Author: nandika
Date: Wed Dec 26 16:59:41 2012
New Revision: 1425967

URL: http://svn.apache.org/viewvc?rev=1425967&view=rev
Log:
added missing soap version setting when setting response soap envelope

Modified:
    axis/axis2/c/core/trunk/src/core/context/msg_ctx.c

Modified: axis/axis2/c/core/trunk/src/core/context/msg_ctx.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/context/msg_ctx.c?rev=1425967&r1=1425966&r2=1425967&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/context/msg_ctx.c (original)
+++ axis/axis2/c/core/trunk/src/core/context/msg_ctx.c Wed Dec 26 16:59:41 2012
@@ -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