File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking a method in WSDL file from client class

 
Prashanth Chandra
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have got a WSDL file and I have to invoke certian methods from a client class from the WSDL file. What exactly should I do to invoke them from a Java standalone program /servlet/JSP. There is a sayHello() method in the WSDL. Please tell me how to invoke that method from client side. Aslo please let me know the jar files that are needed.



Thanks in advance
Prashanth
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case you are using AXIS you can use the WSDL2Java program to generate all the client classe and then use those classes to write a program which would make use of the program and call the web service for you.

For some initial help you can go through the samples that comes with the AXIS bundle.

or look for the tutorial

http://www.xmethods.com/ve2/ViewTutorials.po
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic