File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL - One way operations

 
Anjali S Sharma
Ranch Hand
Posts: 279
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to create a webservice using Axis2 which has a method with no parameter. This method does not accept a parameter but returns a value.

Please refer to "getAllResumeIds" operation. The below WSDL gives me a warning



Also the code generation from this WSDL fails.



Can someone please let me know how to resolve this?

Thank you

 
Rajeev Trikha
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anjali,

If your service operation has no input parameter and just return then the message exchange pattern still has to be request-response for your output-only operation.



You need to have a wsdl:input for this but the message you point towards has just the name and no message part, ie


 
Anjali S Sharma
Ranch Hand
Posts: 279
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic