You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/11/12 17:55:51 UTC

[jira] Assigned: (AXIS2-3327) When setting the operationName using JSR181 the service fails to show WSDL correctly

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

Deepal Jayasinghe reassigned AXIS2-3327:
----------------------------------------

    Assignee: Deepal Jayasinghe

> 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