• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web services soap client

 
Pavan K K
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web services tool kit :: Sun - Java web servises developers pack
1. Through Registry broswer available as part of the tool kit I would search for the specific webservices available on the net (by specifing the registriy (by giving URL) )
I get the service bindings, access URI . ( attachment contains a screens shot which depicts this scenario)
Now I need to write a SOAP client which can call the method present in the webservice selected above using the URI , execute the method & send the response back.
Issues here
1) Can I accomplish the above by writing a SOAP client using JXAM API.
If i can thats well and good. Now the second question is
2) I would like to know if there is any way of writing a generic soap client. I mean a general piece of code which can serve as a client to any webservice residing on the net.
my whole idea goes like this i will search the registry for some service, as soon as i find it i would like to call the service by invoking a generic client which can serve to any web service say by reading the service name , buisness name of the service, URI & in/out parameters from an xml file populated after the above search.
Any pointers in this regard would be highly appriciated.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would seem like this could be done, but everybody appears to be taking a different approach, namely some utility that takes a WSDL description and writes a Java class that can perform just those requests specified in the WSDL.
What you are describing would be an interpreter of a WSDL instead of a compiler.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic