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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to