Do you have a WSDL? Just follow the links I gave. That fact that you have 9 servers or 900 shouldn't matter--the URL in the WSDL would be the same for all the servers your app is distributed on (just as it is the same for your web application as a whole, correct?)
Glen Am Sonntag, den 04.11.2007, 21:42 +0330 schrieb Mohammad Shamsi: > Hi All, > > I have a spring based Java EE application, > this application destirbuted on 9 servers, i want to add a Web Service > to this application, > > i want now how to call these 9 servers web service with a client ? > > i read spring cxf sample, client part of this sample in beans.xml are > somthing like this : > > <bean id="client" class="demo.spring.HelloWorldImpl" > factory-bean="clientFactory" factory-method="create"/> > > <bean id="clientFactory" class=" > org.apache.cxf.jaxws.JaxWsProxyFactoryBean"> > <property name="serviceClass" value="demo.spring.HelloWorld"/> > <property name="address" value=" > http://localhost:8080/cxf/wscxf/HelloWorld"/> > </bean> > > with this guide, i have to define 9 bean like this client bean and 9 > clientFactory bean. > > is there any simpler way to do this?
