Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamic discovery and invocation of web services.

 
kishani liyanage
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kishani liyanage
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick search at IBM developerWorks gave this tutorial which uses WSDK:
Discovering Web Services: UDDI
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic