Hi list. This is my first mail. I subscribed because I needed help for a problem with the sample EchoHeaders.jws, but examining several unanswered requests of the same kind, I finally found what my problem was, and so I want to post my solution to the list in the hope that it helps others.

The problem is that on requesting anything from a jws, the result would be a Fault, sending a FileNotFoundException as error code.
The FileNotFoundException would point to <AxisRoot>/WEB-INF/jwsClasses/<jwsname>.java.
E.g.


<?xml version="1.0" encoding="UTF-8" ?>
- <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
<http://schemas.xmlsoap.org/soap/envelope/>
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; <http://www.w3.org/2001/XMLSchema>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
<http://www.w3.org/2001/XMLSchema-instance>>
- <soapenv:Body>
- <soapenv:Fault>
 <faultcode>soapenv:Server.userException</faultcode>
 <faultstring>java.io.FileNotFoundException:
/opt/jakarta/tomcat/webapps/axis/WEB-INF/jwsClasses/EchoHeaders.java (No
such file or directory)</faultstring>
 <detail />
 </soapenv:Fault>
 </soapenv:Body>
 </soapenv:Envelope>


It seems that this is a problem of permissions. When I changed the permissions on the files so that Tomcat could create new files and directories, it worked. Try that.
I know that Andreas Bohnert and Larry posted this problem, I hope this helps you.


Sebastian Redl

Reply via email to