aspose file tools*
The moose likes Web Services and the fly likes adding new operation in web service interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "adding new operation in web service interface" Watch "adding new operation in web service interface" New topic
Author

adding new operation in web service interface

Nishnt Rayn
Greenhorn

Joined: Oct 23, 2008
Posts: 14
I use axis2 web service framework and faced a painful issue recently.
This is what i faced,
1) My application invokes a web service method "A"
2) I wanted to define another method named "B" in my web service which performs a different operation altogher. Here is my service definition in wsdl,


Should work right? WRONG!
No exception / error messages. axis without a hiccup invoked method A whenever my application invoked the new method "B".
I had to discover a services.xml where the A operation was defined and then add another operation B and worked like magic.
Why should i define the same operations in two places in the same project?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: adding new operation in web service interface