JAX-RPC2: Accessing a returneed SOAP header
Using JAX-RPC2 as a web service client, is there a way to access the SOAP header object returned by a remote service call?
I'm using in the wscompile config, which is correctly generating code which allows me to pass the header object in method calls etc. It's not clear how I should access the SOAP header which the server is returning with its response, however!
I was thinking of trying to stick something in the handler chain which could access the SOAP envelope & header in the response directly, but this seems a little brute-force; is there a "correct" way of doing this?!
Thanks in advance,