axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Developer Developer <>
Subject Having trouble with AXIS and Tomcat
Date Sat, 01 Oct 2005 18:32:20 GMT
 I am new to Web services development. I installed Tomcat, AXIS JAX and all
other prereqs, and I think my installations were correct.
 I am trying my first web service deployment
Here is the sample.
 I created a file called Calculator.jws in C:\Tomcat 5.5\webapps\axis

public class Calculator {
public int add(int i1, int i2) {
return i1 + i2;

public int subtract(int i1, int i2) {
return i1 - i2;

When I try to access it using

 I get the following error

    <?xml version="1.0" encoding="UTF-8" ?>
 - <http://localhost:8080/axis/Calculator.jws?method=add#>
="**" xmlns:xsd="**" xmlns:xsi="**">
 - <http://localhost:8080/axis/Calculator.jws?method=add#> <soapenv:Body>
 - <http://localhost:8080/axis/Calculator.jws?method=add#> <soapenv:Fault>
  <faultstring>* C:\Tomcat
5.5\webapps\axis\Calculator.jws (Access is denied)*</faultstring>
 - <http://localhost:8080/axis/Calculator.jws?method=add#> <detail>
  <ns1:hostname xmlns:ns1="**">*IBM-900DE7D8334*

View raw message