Axis2
  1. Axis2
  2. AXIS2-2771

soap:header removed from WSDL since version 1.2

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: wsdl
    • Labels:
      None
    • Environment:
      Windows XP, Tomcat 5.5, Java SE 5

      Description

      <soap:header> elements are removed from WSDL since Version 1.2

      1. Bank.getBank01.xsd
        1.0 kB
        Peter Storch
      2. Bank.getBank01.output.wsdl
        2 kB
        Peter Storch
      3. Bank.getBank01.input.wsdl
        3 kB
        Peter Storch

        Activity

        Hide
        Peter Storch added a comment -

        "Bank.getBank01.input.wsdl" is the wsdl i wrote

        Show
        Peter Storch added a comment - "Bank.getBank01.input.wsdl" is the wsdl i wrote
        Hide
        Peter Storch added a comment -

        "Bank.getBank01.output.wsdl" is what Axis 2 (version 1.2) returns with ?wsdl

        Show
        Peter Storch added a comment - "Bank.getBank01.output.wsdl" is what Axis 2 (version 1.2) returns with ?wsdl
        Hide
        Davanum Srinivas added a comment -

        Peter, could you please attach the Bank.getBank01.xsd file as well?

        thanks,
        dims

        Show
        Davanum Srinivas added a comment - Peter, could you please attach the Bank.getBank01.xsd file as well? thanks, dims
        Hide
        Peter Storch added a comment -

        Here is the missing xsd file

        Show
        Peter Storch added a comment - Here is the missing xsd file
        Hide
        Davanum Srinivas added a comment -

        Marking as blocker, we read the information into AxisBindingMessage and call "bindingMessage.setProperty(WSDL2Constants.ATTR_WSOAP_HEADER, soapHeaders)" to store the header information. There is no code in AxisService2WSDL11 that reads this back when the dynamic wsdl is being constructed.

        thanks,
        dims

        Show
        Davanum Srinivas added a comment - Marking as blocker, we read the information into AxisBindingMessage and call "bindingMessage.setProperty(WSDL2Constants.ATTR_WSOAP_HEADER, soapHeaders)" to store the header information. There is no code in AxisService2WSDL11 that reads this back when the dynamic wsdl is being constructed. thanks, dims
        Hide
        Jaliya Ekanayake added a comment -

        The code has an inconsistency when populating axis2 object structure from a WSDL and going back. Some code changes in the object structures has not been reflected in AxisService2WSDL11.

        Show
        Jaliya Ekanayake added a comment - The code has an inconsistency when populating axis2 object structure from a WSDL and going back. Some code changes in the object structures has not been reflected in AxisService2WSDL11.
        Hide
        Jaliya Ekanayake added a comment -

        The code has an inconsistency when populating axis2 object structure from a WSDL and going back. Some code changes in the object structures has not been reflected in AxisService2WSDL11. So assign it back to Amila.

        Show
        Jaliya Ekanayake added a comment - The code has an inconsistency when populating axis2 object structure from a WSDL and going back. Some code changes in the object structures has not been reflected in AxisService2WSDL11. So assign it back to Amila.
        Hide
        Amila Chinthaka Suriarachchi added a comment -

        as a workaround you can useOriginalwsdl parameter in the service.xml

        Show
        Amila Chinthaka Suriarachchi added a comment - as a workaround you can useOriginalwsdl parameter in the service.xml
        Hide
        Amila Chinthaka Suriarachchi added a comment -

        can you please look into this

        Show
        Amila Chinthaka Suriarachchi added a comment - can you please look into this
        Hide
        Deepal Jayasinghe added a comment -

        fixed in current SVN

        Show
        Deepal Jayasinghe added a comment - fixed in current SVN

          People

          • Assignee:
            Deepal Jayasinghe
            Reporter:
            Peter Storch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development