wood burning stoves 2.0*
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
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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SOAP response to one-way message?
 
Similar Threads
Question on WSDL
Can a one-way SOAP message send a fault?
Web service implementaion using MDB for MOM
finding response time for quality of webservices using java in axis2
One more question about SOAP