jQuery in Action, 3rd edition
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 13025
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.
It is sorta covered in the JavaRanch Style Guide.
subject: web services soap client
It's not a secret anymore!