Announcement Announcement Module
Collapse
No announcement yet.
Logging the inbound gateway for webservice Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


    • #3
      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.

      Comment

      Working...
      X