File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes SOAP response to one-way message? 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 "SOAP response to one-way message?" Watch "SOAP response to one-way message?" New topic
Author

SOAP response to one-way message?

Bram Vancamp
Greenhorn

Joined: Nov 04, 2009
Posts: 3
Howdy,

I've got a bit of a silly question. There's a one-way operation in my WSDL. The code generated with wsimport works all fine and dandy. When I send a message to the one-way operation I get no response whatsoever, not even an empty soap response. I'm going to assume that this is the expected behaviour, but I'd just like to get some confirmation on this! Anyone?

Thanks!
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Confirmed!
If you use HTTP transport, the only thing you will get back is a HTTP message that acknowledges that the message was successfully received. The response does not contain a SOAP message.
See the JAX-WS 2.1 specification, section 11.3.
Best wishes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOAP response to one-way message?
 
Similar Threads
Question on WSDL
One more question about SOAP
Web service implementaion using MDB for MOM
Can a one-way SOAP message send a fault?
finding response time for quality of webservices using java in axis2