Monday, January 6, 2014

View XML for SOAP messages with JAX-WS

Normally when using JAX-WS, getting the actual XML for the SOAP request and response is a pain. You have to use wireshark (an awesome tool, BTW)

But there is a simple trick to get the XML:

Add the following option when starting Java:

Now the XML will be dumped to stand out.