[SWS-803] WebServiceTemple -> add logRequest method analogue to existing logResponse Created: 11/Oct/12 Updated: 03/Dec/12 Resolved: 03/Dec/12
|Project:||Spring Web Services|
|Reporter:||Tamás Láng||Assignee:||Arjen Poutsma|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
I want to log the webservice requests and responses in the application I'm currently working on.
But I would need something for the request logging as well and now the request logging currently located in the method:
Additional question is that I found that there are so called TracingLogger's creatd with logFactory. Maybe instead of thinking in AOP I could use them with defining my own somehow?
What do you think?
|Comment by Arjen Poutsma [ 03/Dec/12 ]|
Instead of using AOP, I think it's a lot easier to just use a org.springframework.ws.client.support.interceptor.ClientInterceptor for logging request and response, and register that with the template. Something like: