aspose file tools*
The moose likes Web Services and the fly likes Invoking webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
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: 42950
    
  70
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".
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: 42950
    
  70
But i want to use JAX-RPC


Which is the kind of code wsdl2java generates.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoking webservice