Hi there,
 
I've been looking at the Spring example in the xfire examples folder.
I've managed to fiddle with the example and get a build working with
ant. The wsdl is now viewable when I drop the war into Tomcat, but I'm
still unsure how to build a client.. I've read the docs at 
 
http://xfire.codehaus.org/Client+API
and
http://xfire.codehaus.org/Spring+Remoting
 
But, I've been left scratching my head. With the following (from the
second link):
<bean id="testWebService"
class="org.codehaus.xfire.spring.remoting.XFireClientFactoryBean">
    <property name="serviceClass">
      <value>org.codehaus.xfire.spring.example.Echo</value>
    </property>
    <property name="wsdlDocumentUrl">
      <value>http://localhost:8080/xfire/EchoService?WSDL</value>
    </property>
</bean>
I don't understand how this is used to construct and run a client
application. Is there any further information I'm unaware of? The Spring
example does not appear to have a client app bundled with it, as the
books example does (BookClient.java)..
 
Jon

Reply via email to