How can i log all client side SOAP messages sent (and their responses) via webservice template using the Logback as the logging framework?
The answers i have seen so far, such as the: How can I make Spring WebServices log all SOAP requests?
refer either to commons logging, which i have excluded as dependency:
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
, or endpoint logging.
If i understood correctly, i should provide implementation of interceptor which should be set as webservice template property.
Could someone show me code example how to do that?