Hi Glen,

Sorry, my application is not really a distributed app. i just run it on 9
servers, all 9 server connect to  one database, but they are work
standalone. and they don't know about each other.

for some reason i wan't to collect some info from each app server and show
them together in  one client. Service in all 9 Server is same, but at least
in URL, they are deferent.

http://server1:port/MyService

http://server2:port2/MyService

http://server3:port3/MyService
.
.
.




On 11/4/07, Glen Mazza <[EMAIL PROTECTED]> wrote:
>
> 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.xmlare
> > 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?
>
>


-- 
sincerely yours
M. H. Shamsi

Reply via email to