You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Edward Garson <EG...@Channel4.co.uk> on 2001/05/03 16:53:56 UTC

Yet more newbie configuration and other questions

Hello Soapers

I've had a very good crack at this, now I beseech you to help me, please.

Win2K - Apache SOAP 2.0 - Tomcat 3.1 - xerces 1.3.0 (downgraded after the
very common xsd error which I aslo had!)

1) Firstly, I am unable to deploy the examples from the command line:

This is executed from the directory of the service I wish to deploy, which
includes successfully compiled .class file in addition to
DeploymentDescriptor.xml:

java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/apache-soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml

This is the response:

Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
at
org.apache.soap.server.ServiceManagerClient.<init><ServiceManagerClient.java
:78> at
org.apache.soap.server.ServiceManagerClient.main<ServiceManagerClient.java:1
78>

Sure, NoClassDefFoundError ocurrs when JAVA_HOME\bin isn't on the system's
CLASSPATH... but mine IS -- I am able to compile java source files from any
directory, which proves this is not the problem... right?

However, I can invoke the XML-SOAP admin tool and successfully deploy
services from there. I can also get responses from the rpcrouterservlet, but
they are unfortunately faultcodes. I have also been careful wrt CLASSPATH
order; Tomcat displays 'using classpath' with xerces.jar FIRST as required,
and includes all the other standard .jar files including activation.jar and
mail.jar etc. etc.

2) When I read 'put blah blah into your classpath' can I assume this refers
EXCLUSIVELY to Tomcat's classpath, and never refers to my 'normal' Windows
boot CLASSPATH?

3) I USED to get 'unable to resolve xsd blah blah' so I downgraded to xerces
1.3.0, but now I get 'method getPrime not supported', yet when I invoke
details from XML-SOAP Admin tool I clearly see that the method in question
is listed, that the class is on Tomcat's CLASSPATH, and that it is spelled
correctly. What gives? 

I am somewhat of a java newbie, and a total soap newbie -- assume no
knowledge on my part!!

I am most grateful to the community for helping me, and will endeavour to
help others in the future.

Fond Regards,

Edward Garson
Software Developer
Channel 4 Television Corporation
egarson@hotmail.com
+44 (020) 7306-5373


Any views or opinions are solely those of the author and do not necessarily
represent those of Channel Four Television Corporation unless specifically
stated.  This email and any files transmitted are confidential and intended
solely for the use of the individual or entity to which they are addressed.
If you have received this email in error, please notify
postmaster@channel4.co.uk



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org