<?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-2.0.xsd">
|
|
<import resource="classpath:org/codehaus/xfire/spring/xfire.xml"/>
|
|
<!--<bean id="jaxbTypeMappingRegistry" class="org.codehaus.xfire.jaxb2.JaxbTypeRegistry"
|
init-method="createDefaultMappings"/>-->
|
|
<bean id="xmlbeansTypeRegistry" class="org.codehaus.xfire.xmlbeans.XmlBeansTypeRegistry"/>
|
|
<bean id="webAnnotations" class="org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations"/>
|
|
<bean id="handlerMapping" class="org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping">
|
<!--<property name="typeMappingRegistry" ref="jaxbTypeMappingRegistry"/>-->
|
<property name="typeMappingRegistry" ref="xmlbeansTypeRegistry"/>
|
<property name="xfire" ref="xfire"/>
|
<property name="webAnnotations" ref="webAnnotations"/>
|
</bean>
|
|
<bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
|
<property name="urlMap">
|
<map>
|
<entry key="/">
|
<ref bean="handlerMapping"/>
|
</entry>
|
</map>
|
</property>
|
</bean>
|
</beans>
|