Thanks .. I didn't see that one .. seems that this is the solution. But then I need to find a way to register several servers in my client so that I don't have to change the code everytime I want to connect to a new server .... maybe an external configuration file.
Thanks,
Patrick.
Oliver Adler wrote:
Hi Patrick,
your ServiceLocator has a second method which accepts a URL object. This is the way to access a identical(!) service under a different url.
I hope that helps.
Regards Oliver
-----Urspr�ngliche Nachricht----- Von: BLIS Webmaster (Patrick Houbaux) [mailto:[EMAIL PROTECTED]] Gesendet: Mi 12.02.2003 17.24 Uhr An: [EMAIL PROTECTED] Cc: Betreff: WSIF vs WSDL2Java question
Hi all,
I'm still quite a newbie to everything concerning web services and I
would like somebody's opinion on something I'm wondering.
I want to write a client that should access to a web service defined
through WSDL that is hosted physically on several servers.
I have made some experimentation with AXIS and specially with WSDL2Java
that works fine to access to one server and actually writting a client
with that solution is very simple ... I like that ;)
As fas as I understand, the stub generated with WSDL2Java is specific to
only one server URL (or port if you call it like this).
My question is, is WSIF what I need for the objective I have? Is it as
simple as WSDL2Java to write a client?
Any other solution?
I hope my explaination was clear enough.
Regards,
Patrick.
