Results 1 to 2 of 2

Thread: Custom logging Help??

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    122

    Default 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.

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    You're probably best off doing that in an endpoint interceptor. Take a look at the existing logging interceptors: PayloadLoggingInterceptor and SoapEnvelopeLoggingInterceptor.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •