cancel
Showing results for 
Search instead for 
Did you mean: 

Axis webservice ServletNotFoundException

Former Member
0 Kudos

Does anybody know how you can use a Axis webservice in the SAP AS?

I developed a webservice with axis and this works fine if I deploy it in Tomcat but when I deploy the same application in the SAP AS it fails to load the axis servlet. I get a ServletNotFoundException saying that it can't load the requested servlet. I checked wich servlet it is and it seems to be te axis servlet (org.apache.axis.transport.http.AxisServlet).

Can anybody help me with this problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

did you check your axis installation with the happyaxis link

read <b>Validate Axis with happyaxis</b> section on http://ws.apache.org/axis/java/install.html

also verify if WebAS has any issues as are mentioned for Weblogic on this page, related to conflicting classes

Former Member
0 Kudos

I checked with the happyaxis.jsp file and found out the following thing:

Error: Invalid version of SAAJ API found in C:\usr\sap\PD1\JC01\j2ee\cluster\server0\bin\ext\webservices_lib\saaj-api.jar. Make sure that Axis' saaj.jar precedes C:\usr\sap\PD1\JC01\j2ee\cluster\server0\bin\ext\webservices_lib\saaj-api.jar in CLASSPATH.

Axis will not work.

See http://ws.apache.org/axis/java/install.html

Found JAX-RPC API ( javax.xml.rpc.Service ) at C:\usr\sap\PD1\JC01\j2ee\cluster\server0\bin\ext\webservices_lib\jaxrpc-api.jar

Error: could not find a dependency of class org.apache.axis.transport.http.AxisServlet from file Axis will not work.

See http://ws.apache.org/axis/

The root cause was:

This can happen e.g. if org.apache.axis.transport.http.AxisServlet is in the 'common' classpath, but a dependency like activation.jar is only in the webapp classpath.

I removed the jaxrpc-api.jar and the saaj-api.jar from: C:\usr\sap\PD1\JC01\j2ee\cluster\server0\bin\ext\webservices_lib

and replaced them with saaj.jar and jaxrpc.jar from the binary distribution of axis. Now my webservice works fine but I don't think this is the way to fix this problem.

Does anybody know how you can fix this within the SAP AS?

Message was edited by:

Salomo Petrus

Answers (0)