Hi, I had deployed a Service with more than 1 method published as webservice. I am using Axis 1.4. The methods are correctly listed in the List page. Now I want to call these methods. In when I allow only 1 method in service, there is no need of specifying the method name in client when it is a MSG (Message Based) one. But now where should I specify the method name in client. I tried setOperationName. But my client is not invoking the service, It is giving exception.
Couldn't find an appropriate operation for XML QName {http://www.wrox.com/eaaxis/catalog}CATALOG
Thanks in advance to all.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35256
7
posted
0
What kind of client are you using? A client generated by WSDL2Java generates different Java methods for each operation the WS has, so calling the correct operation is a matter of ionvoking the right Java method.
If you're using SAAJ, you'd usually be specifying the operation and parameter like this: