You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Xiaohu Liu <xi...@nortelnetworks.com> on 2001/01/26 19:11:48 UTC

probelm to run addressbook example

Hi all,

As a beginner, I still cannot run the addressbook example. I am hungry for
help. 

I already installed Apach SOAP 2.0, Tomcat 3.2.1 and Apache Xerces 1.2.3. I
am sure xerces.jar is the first one in CLASSPATH and I modified tomcat.bat
so that xerces.jar is still in the front of CLASSPATH. Another important
thing I learned from you is that I need modify \tomcat\conf\server.xml file.
I did add a new <Context> entry into server.xml.

After I starup Tomcat, I run addressbook in this way:
java samples.addressbook.GetAddress
http://localhost:8080/soap/servlet/rpcrouter "John B. Good"

and I got an error message like
  Exception in thread "main" java.lang.NoClassDefFoundError:org/w3c/dom/Node
at
  org.apache.soap.encoding.SOAPMappingRegistry. <init>
(SOAPMappingRegistry.java:95) at samples.addressbook.GetrAddress.main
(GetAddress.java:95)

Did I miss something or make a mistake? If I need to deploy the service, how
could I do it? 

Do I need to add jdk1.3 to CLASSPATH?

I appreciate your any suggestion.

Xiaohu