Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes Simple Web Service using Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Simple Web Service using Axis" Watch "Simple Web Service using Axis" New topic
Author

Simple Web Service using Axis

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 126
i am trying to make a simple web service using axis on tomcat 5
Here the Calculator.jws file

Here is CalcClient.java client file


It compile fine but when i run it , i get the following error


Please help me resolve this
[ April 19, 2005: Message edited by: Thomas Greene ]
Khushi Panesar
Greenhorn

Joined: May 26, 2004
Posts: 10
I was having the same problem, what I did ...... added follo. to my classpath

AXIS_HOME = D:\Axis
AXIS_LIB = D:\Axis\lib;
%AXIS_LIB%wsdl4j.rar;%AXIS_LIB%xmlParserAPIs.rar;%AXIS_HOME%;
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Simple Web Service using Axis