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

后端 未结 8 1931
独厮守ぢ
独厮守ぢ 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:20

    In addition to Torsten's answer

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

    Make sure that you set this before instantiating the WebServiceClient object (the one that extends Service)

提交回复
热议问题