John Baker wrote:
Hello,
How does one obtain the raw SOAP message returned from a client webservice
call? Ideally, as String or a Document would be nice.
John
You can achieve the same in either of two ways:
A. You can use Dispatch API [1] to write your client where you can get
either Message (Body element) or Payload (entire SOAP Envelope).
or
B. You can write and plugin your own interceptor [2] in the interceptor
chain where you can get the hold of soap message.
With Regards,
Mayank
[1]. http://cwiki.apache.org/CXF20DOC/jax-ws-dispatch-api.html
[2]. http://cwiki.apache.org/CXF20DOC/interceptors.html