Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP response to one-way message?

 
Bram Vancamp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic