File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adding new operation in web service interface

Nishnt Rayn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic