> -----Original Message-----
> From: Rino Srivastava [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, November 29, 2001 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE:Installing apache-soap on IIS and using tomcat 3.1
> 
> 
> Hello:
> 
> I was wondering if someone can guide me about the 
> installation details for apache-soap on IIS which uses Tomcat 
> 3.1 for running servlets and JSPs.
> 
> I have tried to install apache-soap on IIS on which Tomcat 
> 3.1 is running. I put the soap.jar, activation.jar and 
> mail.jar in the tomcat/lib directory. I also put the 
> xerces.jar in the classpath in the beginning.
> 
> I deployed the service using the Apache-soap Admin tool.  
> Then when I try to run any of the samples for instance 
> stockquote example or any other example for that matter, I 
> get the same error message as follows:
> 
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.Qname.<init><Qname.java:80>
> at org.apache.soap.util.xml.matches<Qname.java:146>
> at org.apache.soap.Envelop.unmarshall<Envelop.java:237>
> at org.apache.soap.rpc.Call.invoke<Call.java:230>
> at hello.Client.main<Client.java:50>
> 
> Also, the client and server programs for any particular 
> example are in the
> folder: 
> 
> C:/JBuilder4/tomcat/webapps/soap/Web-inf/classes/samples.
> 
> Can someone suggest what I could be missing?
> 
> Thanks.
> Rino

The no such method error for QName is likely caused by the fact that
your JVM is picking up an earlier version of an XML parser before it
comes to Xerces. This earlier version does not support namespaces.
The JVM looks at the standard extensions directory JAVA-HOME/jre/lib/ext
BEFORE IT LOOKS AT YOUR CLASSPATH!!!
Therefore - if you have an earlier parser in that directory, that is
what is picked up.
I wasted about 2 days on this one.....
Read the findingclasses.html file in your tooldocs directory for the
Java SDK to see why.

WBB
 



Reply via email to