aspose file tools
The moose likes Web Services and the fly likes Message Based Service With 2 methods. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Message Based Service With 2 methods." Watch "Message Based Service With 2 methods." New topic
Author

Message Based Service With 2 methods.

Jobin Mathew
Ranch Hand

Joined: Oct 17, 2006
Posts: 83
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
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:


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Message Based Service With 2 methods.
 
Similar Threads
Need explainations please
IBM question - Sequence diagram
Array comparison
Can somebody explain this?
How can you create an object of type unknown until runtime? is it even possible?