• Post Reply Bookmark Topic Watch Topic
  • New Topic

Invoking a web service in wsdl

 
Gee Shah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1001
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't "invoke" the wsdl, the wsdl is the web service interface/api. Maybe if you posted more details that might help.
 
Gee Shah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1001
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!