axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lahiru Sandakith (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-3327) When setting the operationName using JSR181 the service fails to show WSDL correctly
Date Thu, 29 Nov 2007 04:38:43 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lahiru Sandakith resolved AXIS2-3327.
-------------------------------------

    Resolution: Fixed

This was fixed in current trunk. 

> When setting the operationName using JSR181 the service fails to show WSDL correctly
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3327
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3327
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Paul Fremantle
>            Assignee: Deepal Jayasinghe
>
> If I set 
> @WebMethod(operationName="doit")
> public String myMethod(..) {..}
> then try to view the resulting WSDL for the service, I get a SOAP fault:
> <soapenv:Envelope>
> −
> 	<soapenv:Header>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>
> </soapenv:Header>
> −
> 	<soapenv:Body>
> −
> 	<soapenv:Fault>
> <faultcode/>
> <faultstring>unknown</faultstring>
> <detail/>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
> If I view WSDL2 (?wsdl2) it works, but the resulting WSDL shows two operations for each
method:
> <wsdl2:interface name="ServiceInterface">
> −
> 	<wsdl2:operation name="myMethod" pattern="http://www.w3.org/ns/wsdl/in-out">
> <wsdl2:input element="ns0:myMethod" wsaw:Action="http://fremantle.org/doit"/>
> <wsdl2:output element="ns0:myMethodResponse" wsaw:Action="urn:myMethodResponse"/>
> </wsdl2:operation>
> −
> 	<wsdl2:operation name="doit" pattern="http://www.w3.org/ns/wsdl/in-out">
> <wsdl2:input element="#none" wsaw:Action="http://fremantle.org/doit"/>
> <wsdl2:output element="#none" wsaw:Action="http://fremantle.org/ns/Hello/doitResponse"/>
> </wsdl2:operation>
> </wsdl2:interface>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message