Thomas Thornbury wrote:

> Sure.  I'm running SOAP 2.2 and 4.0.1 right now.


... so maybe you could help me:


I am using SOAP 2.2 and Tomcat 4.0.1 too. Normal RPC calls over the 
RPCJavaProvider work so far, but when I try to use my own provider - 
even if it just exetends RPCJavaProvider without anything else - I get 
the following error message:

<stackTrace>
java.lang.NoClassDefFoundError: javax/servlet/GenericServlet
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at org.apache.soap.rpc.SOAPContext.loadClass(SOAPContext.java:557)
at org.apache.soap.server.ServerUtils.loadProvider(ServerUtils.java:141)
at 
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:279)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)


My provider looks like the following:

public class myProvider extends
      org.apache.soap.providers.RPCJavaProvider {}



The servlet.jar is in the CLASSPATH of the server, thus the server 
should be able to find javay.servlet.GenericServlet.


Any ideas?

thx
martin


Reply via email to