• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to search for WSDL of a particular webservice from my program

 
Sanjay Mishra
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I tried browsing the webservices hosted in IBM and microsoft's uddi registry. I got the url's and names of the webservices but not the WSDL associated with a particular webservice.
My taks is:
1. To write a code which will connect to IBM/Microsoft site and will search for a specified webservice.
2. To get the WSDL for that webservice.
3. To write a client code based upon the wsdl so that I can connect to the service using client.

I am able to write a client code based upon wsdl using Websphere Application Developer, however am still stuck with tasks 1 and 2.
Thanks in advance.
Sanjay
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun's recently released "Winter XML Pack" at
http://java.sun.com/xml/javaxmlpack.htm
includes the JavaTM API for XML Registries ("JAXR") 1.0 - this is supposed to provide support for querying UDDI registries by a program. I have not tried it yet - would love to hear if you get it to work.
Bill
 
Andy Peter
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure how you'll write the code for that but i know HP has a tool RegistryComposer that does exactly that
www.hp.com/go/RegistryComposer
I think if you attach a ?WSDL at the end of the URL of the service you can get the WSDL for that particular Service.. Am not sure.
 
Roy Huang
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U can only search the white page through some API methods from UDDI4j.jar, I have tested the version2.0.
Unfortunately I didn't find the way to directly search the service keywords, instead, it only works for searching with the business entity keywords, which is a level higher than we need, so we have to write a vector including every possible service under this found entity, than get the wsdl files for later parsing.
Roy
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!