Skip to main content

How to invoke a WS that is only known at the execution time of the program?

2 replies [Last post]
salwaalkhan
Offline
Joined: 2009-11-21
Points: 0

Hi, How to invoke a WS that is only known at the execution time of the java invocation client?

Is it possible with WS Java APIs to write a client that can invoke whatever web service? A client that is independent of any particular web service?

the service that must be invoked is known at the execution time of the client and not at the development time.

please help me in solving this issue.
Thanks
Salwa

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
shammu
Offline
Joined: 2009-11-04
Points: 0

Hi

Here are the steps I think should probably help.

1) Build a internal Registry service (UDDI) with list of all services
2) Comeup with a common format request and response (Usually some object representation)
3) Write a controller for redirection to different services available in the registry.
4) Build a WSServer using the request and the controller.

Thanks
Siva

salwaalkhan
Offline
Joined: 2009-11-21
Points: 0

Ok thank you so much