5

We are debugging some spring-ws soap web services and outputting the soap request using the log4j settings highlighted in this post:

https://stackoverflow.com/a/17605616/1279002

I would like to pretty print the soap message being sent to the log. Does anybody know if this can be done and if so how to do it?

1 Answer 1

-1

To print the SOAP message, Add SoapEnvelopeLoggingInterceptor interceptor provided by spring-ws. Also, set logging level to DEBUG.

1
  • 2
    Question specifically starts with "pretty print"
    – Espresso
    Nov 23, 2018 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.