There is no way to set the SOAP version using the mep_client api
----------------------------------------------------------------
Key: AXIS2C-123
URL: http://issues.apache.org/jira/browse/AXIS2C-123
Project: Axis2-C
Type: Bug
Versions: Current (Nightly)
Reporter: Pete Robbins
Priority: Minor
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??
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira