Tracing XML request/responses with JAX-WS when error occurs

后端 未结 8 1915
独厮守ぢ
独厮守ぢ 2020-12-01 03:17

I want to log raw soap post requests if there are any errors , I am using JAX-WS. Any help will be appreciated.

Is there an easy way (aka: not using a proxy) to get

8条回答
  •  温柔的废话
    2020-12-01 03:21

    The first thing you might want to try is using one, or both, of the following system properties:

    Client:

    com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true
    

    Server:

    com.sun.xml.ws.transport.http.HttpAdapter.dump=true
    

提交回复
热议问题