In this chapter, we will cover:
Logging the message payload manually
Logging both request and response SOAP Envelopes using log4j
Logging both request and response using Spring-WS's Interceptors
Using Eclipse IDE to debug a Spring-WS
Logging and tracing refers to capturing and recording events and data structures about a software program's execution to provide an audit trail. It helps the developers and support team to collect runtime information on the execution of the software program. For any serious software development team, it is very important to implement logging in their system.
For Web-Service development, it is quite useful to be able to see the SOAP messages being transported ...