<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xmlns:p="http://www.springframework.org/schema/p"
	   xmlns:sws="http://www.springframework.org/schema/web-services"
	   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services.xsd">

	<sws:interceptors>
		<ref bean="externalGlobalInterceptor"/>
		<bean class="org.springframework.ws.config.MyInterceptor">
			<property name="order" value="1"/>
		</bean>
		<sws:payloadRoot namespaceUri="http://www.springframework.org/spring-ws">
			<ref bean="externalPayloadRootInterceptor"/>
			<bean class="org.springframework.ws.config.MyInterceptor">
				<property name="order" value="3"/>
			</bean>
		</sws:payloadRoot>
		<sws:soapAction value="mySoapAction">
			<ref bean="externalSoapActionInterceptor"/>
			<bean class="org.springframework.ws.config.MyInterceptor">
				<property name="order" value="5"/>
			</bean>
		</sws:soapAction>
	</sws:interceptors>

	<bean id="externalGlobalInterceptor"
		  class="org.springframework.ws.config.MyInterceptor" p:order="0"/>
	<bean id="externalPayloadRootInterceptor"
		  class="org.springframework.ws.config.MyInterceptor" p:order="2"/>
	<bean id="externalSoapActionInterceptor"
		  class="org.springframework.ws.config.MyInterceptor" p:order="4"/>

</beans>


