We are doing SOAP with an unsigned applet, using the Java plugin, and I 
believe it worked with soap,xerces,mail,activation. Right now, we have put 
some classes from all of these together into one big jar. This helped us 
eliminate some classes, at the cost of updating a bigger jar when any 
component changed. If you have trouble, try extracting the four component 
jars and building one big combined jar.

I haven't used appletviewer for this in a long time, using IE instead. You 
might check the different parameters from the html pages described here: 
http://java.sun.com/j2se/1.4/docs/guide/plugin/index.html

If you would like to see it in action, you can run the demo at www.exdocs.com

Mark




At 12:41 PM 5/9/02 -0400, you wrote:
>Hi, just starting out with SOAP so here's the situation.
>On a Win2K machine trying to run an SOAP applet client that talks to a SOAP
>server on linux.
>I am having problems with the client.
>My CLASSPATH is empty.
>I get a java.lang.NoClassDefFoundError: org/apache/soap/rpc/RPCMessage
>when running with appletviewer. Which means I can't find the soap.jar. Fine.
>in the html file I add the line
>archive = "soap.jar"
>now I get a
>java.lang.NoClassDefFoundError: org/w3c/dom/Node
>which means I can't find the right xml parser?
>I downloaded both Xerces 1.4.4 and 2.0.1
>If I use the 1.4.4 (xerces.jar) and add that to the archive line by doing a
>archive = "soap.jar", "xerces.jar"
>I still get the java.lang.NoClassDefFoundError: org/w3c/dom/Node error.
>if I rearrange the archive line to read archive = "xerces.jar", "soap.jar"
>I get the following error
>java.lang.NoClassDefFoundError: org/apache/soap/rpc/RPCMessage
>Any idea how to fix this problem?
>By the way, the soap.jar is for apache soap 2.2
>any help would be greatly appreciated.
>Hubert
>btw, i realize that I would probably also need to add mail.jar and
>activation.jar but I'm not sure in which order I need to do this in.
>Also, is there a way to 'not' use that archive line? The jar files are
>fairly large for use with an applet.


Reply via email to