Paul, You have probably put your service class at a different level than Apache SOAP in the Tomcat class loader delegation chain. Because messaging service classes rely on Apache SOAP classes (Envelope, SOAPContext), they must be loaded by a class loader that can also load the Apache SOAP classes. If you have deployed Apache SOAP as a Tomcat webapp (which you should), you must make your service class (and dependent classes) part of the webapp as well, i.e. put it under $CATALINA_HOME/webapps/soap/WEB-INF/classes. My guess is you put the class in $CATALINA_HOME/classes, the class loader for which cannot load the Apache SOAP classes.
Scott Nichol ----- Original Message ----- From: "Paul J. Caritj" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 5:30 PM Subject: NoClassDefFoundError: org/apache/soap/Envelope > Greetings, > > I have an annoying little problem pertaining to SOAP-Messaging. When I > attempt to invoke a soap messaging service I get the following fault > (shown in relevant part): > > <faultactor>/soap/servlet/messagerouter</faultactor> > <detail> > <stackTrace>java.lang.NoClassDefFoundError: org/apache/soap/Envelope > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:1627) > at java.lang.Class.privateGetPublicMethods(Class.java:1655) > at java.lang.Class.getMethod0(Class.java:1744) > at java.lang.Class.getMethod(Class.java:963) > > I was hoping someone could throw me a line :) RPC style services work > just fine. I'm using Tomcat 1.4.12 and Apache SOAP 2.3 on Redhat 8.0 > > > Also, on a related note, is it my imagination or is there a grievous > shortage of documentation on the use of Soap-Messaging (EDI, or what > have you)? Every book I have read (and Apache's own documentation) > focuses heavily on RPC style. Does anyone know of a > book/website/anything that covers Messaging thoroughly? (preferably in > Java, but I'll take what I can get) > > Best Regards, > Paul Caritj > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>