aspose file tools*
The moose likes Web Services and the fly likes WSDL - One way operations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL - One way operations" Watch "WSDL - One way operations" New topic
Author

WSDL - One way operations

Anjali S Sharma
Ranch Hand

Joined: Jun 29, 2005
Posts: 279
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

Joined: Jan 29, 2010
Posts: 85
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



Rajeev Trikha (SCJP 6)
Anjali S Sharma
Ranch Hand

Joined: Jun 29, 2005
Posts: 279
Thanks a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL - One way operations
 
Similar Threads
Axis2 - Transfer document using MTOM
Client for Axis2 POJO webservice giving error
Axis2- enable security using Rampart
Axis2 - Handlers for SOAP headers
Axis2 - Transfer document using MTOM