File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

SOAP response to one-way message?

Bram Vancamp

Joined: Nov 04, 2009
Posts: 3

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?

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
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?
jQuery in Action, 3rd edition