Hi Jason,
Try importing "/org/codehaus/xfire/spring/xfire.xml" into your bean
definitions.
- Dan
Jason Tesser wrote:
Given the spring config from teh example on xfires site where are the
beans for xfire and xfire.typeMappingRegistry. I have tried this
example but it fails because of those referenced beans not existing.
<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="xfire.typeMappingRegistry"/>
</property>
<property name="xfire">
<ref bean="xfire"/>
</property>
<property name="webAnnotations">
<ref bean="webAnnotations"
/>
</property>
</bean>
<bean id="annotatedEcho"
class="org.codehaus.xfire.spring.AnnotatedEchoImpl"/>
<bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
">
<property name="urlMap">
<map>
<entry key=
"/">
<ref bean="handlerMapping"/>
</entry>
</map>
</property>
</bean>
</beans>
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog