*
The moose likes Web Services and the fly likes dynamic discovery and invocation of web services. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "dynamic discovery and invocation of web services." Watch "dynamic discovery and invocation of web services." New topic
Author

dynamic discovery and invocation of web services.

kishani liyanage
Ranch Hand

Joined: Dec 08, 2003
Posts: 40
Please can some body teel me hoe i could dynamicaly,discover and invoke a web service from a uddi registry?
actually my intention is this:
suppose u have a set of web services in published in auddi registry. and u want to find the service and invoke it through a jsp . how can i do it? Please if some one could help me with a tiny little bit of code ar at least direct me to a link where i could get some feedback i would be musc grateful.
Thanx in advance.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Have you tried
The Java Web Services Tutorial? Chapter 14 should be all you need to lookup the information from UDDI, including a WSDL URL for the service you want to invoke. Once you have that URL, you can use a dynamic proxy client or a DII client (described in Chapter 12, JAX-RPC) to make a SOAP call against the service.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
kishani liyanage
Ranch Hand

Joined: Dec 08, 2003
Posts: 40
I'm using the wsdk web services development environment. will i be able to use the same methods as described in the sun tutorial?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
A quick search at IBM developerWorks gave this tutorial which uses WSDK:
Discovering Web Services: UDDI
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dynamic discovery and invocation of web services.