Mar 14th, 2008, 05:42 PM
Custom logging Help??
I would like to log user Id from siap header and request name which is root element inside the payload and user Id inside the paylod?
I am using MarshallingMethodEndpointAdapter and PayloadRootAnnotationMethodEndpointMapping
For response I need to add same as above and response code which in response message payload???
Any help is appreciated?
I am able to log request and response whole message but I want specific info only.
Mar 19th, 2008, 03:43 PM
You're probably best off doing that in an endpoint interceptor. Take a look at the existing logging interceptors: PayloadLoggingInterceptor and SoapEnvelopeLoggingInterceptor.