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

	<bean id="client"
		  class="org.springframework.ws.test.client.integration.CustomerClient">
		<property name="webServiceTemplate" ref="webServiceTemplate"/>
	</bean>

	<bean id="webServiceTemplate"
		  class="org.springframework.ws.client.core.WebServiceTemplate">
		<property name="marshaller" ref="marshaller"/>
		<property name="unmarshaller" ref="marshaller"/>
		<property name="defaultUri" value="http://example.com"/>
	</bean>

	<bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
		<property name="classesToBeBound">
			<list>
				<value>org.springframework.ws.test.integration.CustomerCountRequest
				</value>
				<value>org.springframework.ws.test.integration.CustomerCountResponse
				</value>
			</list>
		</property>
	</bean>

</beans>