• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

web services soap client

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic