Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
I tried using AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI but when I call AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE it always uses SOAP12 to build the soap envelope.
I think the problem is in mep_client. The axis2_mep_client_prepare_soap_envelope creates a msg_ctx which will always have the default isSoap11 set to false. This flag is then used to call axis2_soap_envelope_create_default_soap_envelope.
Rather than checking AXIS2_MSG_CTX_GET_IS_SOAP_11, which will always be false, the code could use the value set by AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI to determine the call to axis2_soap_envelope_create_default_soap_envelope??