Dec 7th, 2010, 06:57 AM
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"/>
Dec 7th, 2010, 10:09 AM
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
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