<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:jaxws="http://cxf.apache.org/jaxws"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
					    http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd">

	<bean id="customerService" class="com.mycompany.customerrelations.CustomerService"
		factory-bean="customerServiceClientFactory" factory-method="create" />

	<bean id="customerServiceClientFactory"
		class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
		<property name="serviceClass" value="com.mycompany.customerrelations.CustomerService" />
		<property name="address"
			value="http://localhost:9090/customerService" />
	</bean>

</beans>