This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41062
    
  43
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".


Ping & DNS - my free Android networking tools app
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: 41062
    
  43
But i want to use JAX-RPC


Which is the kind of code wsdl2java generates.

 
 
subject: Invoking webservice
 
Similar Threads
Webservice & EJB
java to .net compatiability
Invoking webservice from another webservice - Axis2
Webservices
Webservice issue in Appserver cluster