Skip to content

Instantly share code, notes, and snippets.

@yamanyar
Created April 3, 2012 12:25
Show Gist options
  • Save yamanyar/2291558 to your computer and use it in GitHub Desktop.
Save yamanyar/2291558 to your computer and use it in GitHub Desktop.
Spring WS Logging Req/Res
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/integration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:ws="http://www.springframework.org/schema/integration/ws"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/integration/ws
http://www.springframework.org/schema/integration/ws/spring-integration-ws.xsd">
<ws:interceptors>
<sws:payloadRoot namespaceUri="http://www.yamanyar.com/ws/reqTest"> <!--#11-->
<bean class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor"/>
</sws:payloadRoot> <!--#13-->
</ws:interceptors>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment