aspose file tools
The moose likes Web Services and the fly likes Invoking webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
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: 35241
    
    7
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: 35241
    
    7
But i want to use JAX-RPC


Which is the kind of code wsdl2java generates.

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Invoking webservice
 
Similar Threads
Webservices
Webservice & EJB
Invoking webservice from another webservice - Axis2
java to .net compatiability
Webservice issue in Appserver cluster