File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Invoking a web service in wsdl 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 a web service in wsdl" Watch "Invoking a web service in wsdl" New topic
Author

Invoking a web service in wsdl

Gee Shah
Greenhorn

Joined: Jul 06, 2005
Posts: 2
Hi,
I'm new to web services. Does anyone have a sample code to invoke a wsdl file. I have the wsdl file. Any help will be greatly appreciated.

tia!
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 965

You don't "invoke" the wsdl, the wsdl is the web service interface/api. Maybe if you posted more details that might help.


Please ignore post, I have no idea what I am talking about.
Gee Shah
Greenhorn

Joined: Jul 06, 2005
Posts: 2
oopss. forgive my verbage.... I am trying to invoke a method defined in a web service. I have the wsdl file for the web service. What's the best and fastest way to do this?

thanks again
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 965

You write a web service client. The quickest way would depend on lots of different things. Googling something like "creating web service client" gives you lots of hits.
Apach Axis is a popular tool. They talk about
clients also.
The tool WSDL2Java uses the wsdl to give you java subs - code to start from.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Invoking a web service in wsdl
 
Similar Threads
Invoking Web Service
Axix Installation Problem
WSDL and WebServices
First JAX-WS webservice results in UnsupportedMediaException
how can i create java classes from given wsdl