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

axiom_soap_builder_identify_soap_version should accept parameter soap_version_uri_from_transport to be NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • xml/soap
    • None

    Description

      Looking at axiom_soap_builder_identify_soap_version in soap_builder.c,
      NULL soap_version_uri_from_transport means that we don't know the version of the soap message to be decoded prior the call to axiom_soap_builder_identify_soap_version.

      You should remove this
      AXIS2_PARAM_CHECK(env->error, soap_version_uri_from_transport, AXIS2_FAILURE); at line 873
      since later we check that the soap message should match the specified soap version ( line 914),
      and if it was not specified just set the soap version to the one decoded in the message (line 925, 940).
      Regards,
      Sebastien

      Attachments

        Activity

          People

            shankar Selvaratnam Uthaiyashankar
            sbigot Sebastien Bigot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: