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 "Hashimoto, Mike" <Mi...@cis.canon.com> on 2001/09/24 20:28:07 UTC
Newbie Install Question
I will apologize in advance if this is such a common question. Following
installation, I am consistently getting the following error when just trying
to get the "list" from the rpcrouter:
C:\Projects\SOAP Test>java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
When I access the following on Tomcat
http://localhost:port/8080/servlet/messagerouter
http://localhost:port/8080/servlet/rpcrouter
I get:
SOAP RPC Router
Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.
which I understand to be correct (seems to indicate the server side is set
up correctly). Please note, I can also successfully access
http://localhost:8080/soap/admin
My CLASSPATH is set up as:
C:\Projects\SOAP Test>set
CLASSPATH=c:\Tools\xerces-1_4_3\xerces.jar;c:\Tools\soap-2_2\lib\soap.jar;
c:\Tools\soap-2_2;c:\Tools\javamail-1.2\mail.jar;c:\Tools\jaf-1.0.1\activati
on.jar;c:\Projects\SOAP Test\
I am running on Windows 2000, fwiw. Any help is much appreciated.
Regards,
mh
Re: Newbie Install Question
Posted by William Brogden <wb...@bga.com>.
"Hashimoto, Mike" wrote:
>
> I will apologize in advance if this is such a common question. Following
> installation, I am consistently getting the following error when just trying
> to get the "list" from the rpcrouter:
>
> C:\Projects\SOAP Test>java org.apache.soap.server.ServiceManagerClient
> http://localhost:8080/soap/servlet/rpcrouter list
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
Probably the parser your JVM is finding does not handle namespaces
correctly. It may be finding another parser before it gets to the
Xerces.jar on your classpath. For example, I had trouble with
an old parser on the JAVA_HOME\jre\lib\ext path.
--
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2
Re: Newbie Install Question
Posted by William Brogden <wb...@bga.com>.
"Hashimoto, Mike" wrote:
>
> I will apologize in advance if this is such a common question. Following
> installation, I am consistently getting the following error when just trying
> to get the "list" from the rpcrouter:
>
> C:\Projects\SOAP Test>java org.apache.soap.server.ServiceManagerClient
> http://localhost:8080/soap/servlet/rpcrouter list
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
Probably the parser your JVM is finding does not handle namespaces
correctly. It may be finding another parser before it gets to the
Xerces.jar on your classpath. For example, I had trouble with
an old parser on the JAVA_HOME\jre\lib\ext path.
--
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2