-
Dec 7th, 2010, 06:57 AM
#1
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>
-
Dec 7th, 2010, 10:09 AM
#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.
-
Dec 7th, 2010, 02:06 PM
#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.
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
-
Forum Rules