learn java
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 The Software Craftsman this week in the Agile forum!
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!
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: SOAP response to one-way message?