Yes, it is hard to know exactly what to do.  Include this spring file in
your spring context.  It is from the xfire-spring.jar

classpath:org/codehaus/xfire/spring/xfire.xml 

-----Original Message-----
From: Angel Gomez [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 18, 2005 2:01 PM
To: servicemix
Subject: [servicemix-user] Errors in xfire echo example


    Hi.

    I have been trying to run the xfire echo example and found this:

<!-- The Service Bean -->

  <bean id="echo" class="org.servicemix.components.xfire.Echo"
singleton="true"/>

  <bean name="Echo" class="org.codehaus.xfire.spring.ServiceComponent">
    <property name="service" ref="*xfireReceiverService*"/>
    <property name="serviceFactory" ref="*xfire.serviceFactory*"/>
    <property name="xfire" ref="xfire"/>
  </bean>

        I think that the "service" ref should be "echo" as in the *id* of
the first bean definition.

        For the "serviceFactory", the servicemix throws an error stating a
NoSuchBeanDefinitionException, no bean named 'xfire.serviceFactory' is
defined. I have not been able to fix this last error, I have gone thru the
examples and test either on cvs and the wiki but have not found were or how
this bean is defined.

        Regards.


Reply via email to