Results 1 to 3 of 3

Thread: Logging the inbound gateway for webservice

  1. #1

    Default Logging the inbound gateway for webservice

    I'm trying to log the xml request before it gets unmarshalled to a jaxb object. Has anyone done this, I'm sure there must be some attribute that can turn this logging on. I know I can put a wire tap on the marshalledChannel but that will only log the jaxb result.

    <int-ws:inbound-gateway id="ws-inbound-gateway" marshaller="jaxb" request-channel="marshalledChannel"/>

    <int:service-activator input-channel="marshalledChannel">
    <bean class="com.someSpecificClass"/>
    </int:service-activator>

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Do you need it permanently or is it just for debugging purposes?
    If debugging i would advice to use a TCP monitor (e.g., tcpmon) which would allow you to see request as it comes in.

  3. #3

    Default

    I need it for logging, so tcpmon is not a option. There must be a logger for the inbound service which allows you to log the incoming request, just cant' find anything on the net that allows you to do this.

Tags for this Thread

Posting Permissions

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