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

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

    I think that what you need is an handler, see: http://jax-ws.java.net/articles/handlers_introduction.html
    With handler you can intercept web service call, and have access to all the SOAP message.

提交回复
热议问题