aspose file tools
The moose likes Web Services and the fly likes Invoking webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Invoking webservice" Watch "Invoking webservice" New topic
Author

Invoking webservice

Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
I have a WSDL url.

I need to invoke the webservice with serviceName, portName and operation using simple java standalone program.

Can any one give me some example or some site which gives these details.

Can be any type of client.

i.e. Static stub, Dynamic proxy or DII

thanks in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
The easiest might be to use the wsdl2java tool, which is part of Apache Axis. It generates all the client code you need. There is an introduction in this article, particularly in the paragraph "Abstract SOAP altogether".


Android appsImageJ pluginsJava web charts
Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
But i want to use JAX-RPC
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
But i want to use JAX-RPC


Which is the kind of code wsdl2java generates.

 
 
subject: Invoking webservice
 
Threads others viewed
Webservice issue in Appserver cluster
Webservice & EJB
Invoking webservice from another webservice - Axis2
Webservices
java to .net compatiability
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture