How to log the received SOAP message in Spring Integration -


i have web service based inbound messaging gateway configured. i'd log incoming soap messages (envelope , inside it). best way that?

i have tried using wire tap logging channel adapter, don't know expression value actual soap xml out. if inbound gateway configured not extract payload, see saajsoapmessage payload , domsource otherwise. there expression saajsoapmessage xml string?

here's configuration see tostring() of saajsoapmessage:

<int:channel id="request">     <int:interceptors>         <int:wire-tap channel="logger"/>     </int:interceptors> </int:channel> <int:logging-channel-adapter id="logger" expression="payload" level="debug"/>  <int:channel id="reply"/> <int-ws:inbound-gateway id="ws-inbound-gateway" request-channel="request" reply-channel="reply"                         extract-payload="false"/> 

spring integration sits on top of spring web services. sws has interceptors can log payload and/or envelope...

http://static.springsource.org/spring-ws/sites/2.0/reference/html/server.html#d5e1416


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -