access multiple web services using a proxy

M

Mahesh S

Hi

I would like to access multiple web services using the same proxy
generated by Websphere.

The web services will have the same operations. I have an interface
that all the web services class implements.

So, I would just need to pass the URL to the proxy and expect to access
the correct web service?

Is this possible?

Please help.

Thanks
Mahesh
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Mahesh said:
I would like to access multiple web services using the same proxy
generated by Websphere.

The web services will have the same operations. I have an interface
that all the web services class implements.

So, I would just need to pass the URL to the proxy and expect to access
the correct web service?

I believe WAS uses Axis.

For an Axis generated stub you have a get method with
no arguments that uses the same URL as it was generated
from and another get method where you can explicit specify the
URL.

Try look for that.

public Foobar getFoobarService()
public Foobar getFoobarSercice(URL addr)

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top