File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes web services soap client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web services soap client" Watch "web services soap client" New topic

web services soap client

Pavan K K

Joined: Jul 25, 2002
Posts: 3
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

Joined: Mar 22, 2000
Posts: 13037
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.
I agree. Here's the link:
subject: web services soap client
jQuery in Action, 3rd edition