Hi All,
I'm a newbie in java webservices and I'm developing an axis java web service
with two methods, both have an custom object as parameter and a custom
object as return value. I have them defined in the wsdd as:
<service name="MyService" provider="java:RPC" style="document"
use="literal">
<parameter name="className"
value="com.mycompany.webservice.MyService"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Application"/>
<beanMapping qname="ns:GetDataRequest" xmlns:ns="GetDataRequest"
languageSpecificType="java:com.mycompany.bo.webservice.request.GetDataRequest"/>
<beanMapping qname="ns:AuthenticateRequest"
xmlns:ns="AuthenticateRequest"
languageSpecificType="java:com.mycompany.bo.webservice.request.AuthenticateRequest"/>
<beanMapping qname="ns:GetData" xmlns:ns="GetData"
languageSpecificType="java:com.mycompany.bo.webservice.response.GetData"/>
<beanMapping qname="ns:Authenticate" xmlns:ns="Authenticate"
languageSpecificType="java:com.mycompany.bo.webservice.response.Authenticate"/>
<namespace>http://com.mycompany.webservice</namespace>
</service>
When I execute in a client the "Authenticate" method everything works
perfect. But when I execute from the client the "GetData" , I'm getting "No
such operation" any idea on what's going on?
I've tried both methods with the same parameters in the server and
everything goes well. Thanks a lot in advance.
Francisco González-Blanch Rodríguez