<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
	

	<bean id="webAnnotations"
		class="org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations" />
	<bean id="handlerMapping"
		class="org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping">
		<property name="typeMappingRegistry">
			<ref bean="jaxwsTypeMappingRegistry" />
		</property>
		<property name="xfire">
			<ref bean="xfire" />
		</property>
		<property name="webAnnotations">
			<ref bean="webAnnotations" />
		</property>
	</bean>

	<bean
		class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
		<property name="urlMap">
			<map>
				<entry key="/">
					<ref bean="handlerMapping" />
				</entry>
			</map>
		</property>
	</bean>
	
	<bean id="jaxwsTypeMappingRegistry" class="org.codehaus.xfire.jaxws.type.JAXWSTypeRegistry"
    	init-method="createDefaultMappings" singleton="true">
  	</bean>

	<import resource="classpath:org/codehaus/xfire/spring/xfire.xml" />
</beans>

