Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-123

There is no way to set the SOAP version using the mep_client api

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.91
    • 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??

      Attachments

        Activity

          People

            samisa Don Samisa Abeysinghe
            robbinspg Peter George Robbins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: