2

Using a JAX-WS client, how do you get the SOAP header from a response?

I'm guessing you can do it using the handleMessage method of a SOAPHandler, but I feel like I'm missing some more obvious, straight-forward way.

Mike M. Lin
  • 9,992
  • 12
  • 53
  • 62

1 Answers1

1

In the SOAPHandler you can get all the soap message(getting the header). This is the most straight-forward way. If you want I can get a code example for you.

lpinto.eu
  • 2,077
  • 4
  • 21
  • 45
  • No example needed for me. That's already the way I'm doing it. I just needed validation that it's the "normal" approach. Thanks. – Mike M. Lin Aug 17 '11 at 23:00