Accessing identical web services using the same client

Posted by Krt_Malta on Stack Overflow See other posts from Stack Overflow or by Krt_Malta
Published on 2010-04-17T15:51:50Z Indexed on 2010/04/17 15:53 UTC
Read the original article Hit count: 250

Filed under:
|
|
|

Hi.

I have some web services and I am creating a web client using ws-import.

When creating the client I have this line:

MyServiceService service = new MyServiceService();

It works fine as it is.

I have the same web services running on another server and I was wondering if I could access them using the same client. Is it possible to change the wsdl url of the client? Ctrl-Space in Eclipse gives me 2 parameters which I can enter into MyServiceService which are URL arg0 and Qname arg1. Is this what I'm looking for? And if this is the case what should I put in Qname since I didn't find any Javadoc associated and didn't find it on google neither

Thanks and regards, Krt_Malta

© Stack Overflow or respective owner

Related posts about web

Related posts about Services