Detelin Yordanov created AXIS2-5668:
---------------------------------------

             Summary: ServiceBuilder clears any operation's input wsaw:Action 
from WSDL
                 Key: AXIS2-5668
                 URL: https://issues.apache.org/jira/browse/AXIS2-5668
             Project: Axis2
          Issue Type: Bug
          Components: deployment, kernel
    Affects Versions: 1.6.2
            Reporter: Detelin Yordanov


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:

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

gets converted to one lacking wsaw:Action after deployment:

{code}
<wsdl:input message="ns:getVersionRequest"/>
{code}
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}}, 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.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to