I think the problem with service.xml
so better to check it out
madushan
Developer Developer <[EMAIL PROTECTED]> wrote:
Developer Developer <[EMAIL PROTECTED]> wrote:
Hello,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 deploymentHere is the sample.I created a file called Calculator.jws in C:\Tomcat 5.5\webapps\axispublic 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 http://localhost:8080/axis/Calculator.jws?method=add
I get the following error
<?xml version="1.0" encoding="UTF-8" ?>- <soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema " xmlns:xsi< FONT color=#0000ff>=" http://www.w3.org/2001/XMLSchema-instance"><faultcode >soapenv:Server.userException</ faultcode><faultstring >java.io.FileNotFoundException: C:\Tomcat 5.5\webapps\axis\Calculator.jws (Access is denied) </faultstring></detail ></soapenv:Fault ></soapenv:Body ></soapenv:Envelope >
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com