Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5668

ServiceBuilder clears any operation's input wsaw:Action from WSDL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.2
    • Fix Version/s: None
    • Component/s: deployment, kernel
    • Labels:
      None

      Description

      When deploying a service archive that contains a WSDL, any wsaw:Action attributes for operations' input elements get cleared. For example, the following port type operation's input element in WSDL:

      <wsdl:input message="ns:getVersionRequest" wsaw:Action="http://axisversion.sample/VersionPortType/getVersionRequest"/>
      

      gets converted to one lacking wsaw:Action after deployment:

      <wsdl:input message="ns:getVersionRequest"/>
      

      The wsaw:Action attributes for operation's output and fault are correctly preserved.
      It seems that Axis2 ServiceBuilder first processes the WSDL and populates AxisOperation's wsamappingList, however when it processes the services.xml file, this list is cleared (assuming there are no action mappings in services.xml).

      I guess the DescriptionBuilder.processActionMappings should be modified not to reset the wsamappingList if it is non-empty.

        Attachments

        1. version-1.6.2.aar
          3 kB
          Detelin Yordanov
        2. axis_patch.txt
          70 kB
          Esin Yakub

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                detyo Detelin Yordanov
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: