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 "Horowitz, Eliot" <eh...@doubleclick.net> on 2001/06/08 18:31:55 UTC

Configuration Error

I've been getting this error message.
I was wondering if anyone knew why.
java org.apache.soap.server.ServiceManagerClient
http://localhost/soap/servlet/rpcrouter
<http://localhost/soap/servlet/rpcrouter>  list 
Ouch, the call failed: 
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError
 
If i just go to http://localhost/soap/servlet/rpcrouter
<http://localhost/soap/servlet/rpcrouter> , i do get,

SOAP RPC Router


Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.

Thanks,

-Eliot


RE: Configuration Error

Posted by Neil Benn <ne...@cambridgeantibody.com>.
Hello,

        I had exactly the same problem, check that the xerces.jar is the
first one registered in the tomcat.bat file, in the section following:-

:chkClasspath
if "%CLASSPATH%" == "" goto noClasspath
set CP=%JAVA_HOME%\lib\xerces.jar;%CP%;%CLASSPATH%
:noClasspath
if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
:installClasspath
echo.
echo Using CLASSPATH: %CP%
echo.
set CLASSPATH=%CP%

    Then remove xerces from your classpath (dunno if you had to do this but
I found a few mails saying to do so).  also check if you have any other
parsers in your classpath and remove them.  However if you wish to compile
then you'll have to put xerces back in your classpath!

    This could be a pain so I'd make some scripts if I were you!

Cheers,

Neil Benn
Automation Informatics Scientist
Cambridge Antibody Technology


  -----Original Message-----
  From: Horowitz, Eliot [mailto:ehorowitz@doubleclick.net]
  Sent: 08 June 2001 17:32
  To: 'soap-user@xml.apache.org'
  Subject: Configuration Error


  I've been getting this error message.
  I was wondering if anyone knew why.
  java org.apache.soap.server.ServiceManagerClient
http://localhost/soap/servlet/rpcrouter list
  Ouch, the call failed:
    Fault Code   = SOAP-ENV:Server.Exception:
    Fault String = java.lang.NoSuchMethodError

  If i just go to http://localhost/soap/servlet/rpcrouter, i do get,
  SOAP RPC Router
  Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to
me.

  Thanks,

  -Eliot


RE: Configuration Error

Posted by Neil Benn <ne...@cambridgeantibody.com>.
Hello,

        I had exactly the same problem, check that the xerces.jar is the
first one registered in the tomcat.bat file, in the section following:-

:chkClasspath
if "%CLASSPATH%" == "" goto noClasspath
set CP=%JAVA_HOME%\lib\xerces.jar;%CP%;%CLASSPATH%
:noClasspath
if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
:installClasspath
echo.
echo Using CLASSPATH: %CP%
echo.
set CLASSPATH=%CP%

    Then remove xerces from your classpath (dunno if you had to do this but
I found a few mails saying to do so).  also check if you have any other
parsers in your classpath and remove them.  However if you wish to compile
then you'll have to put xerces back in your classpath!

    This could be a pain so I'd make some scripts if I were you!

Cheers,

Neil Benn
Automation Informatics Scientist
Cambridge Antibody Technology


  -----Original Message-----
  From: Horowitz, Eliot [mailto:ehorowitz@doubleclick.net]
  Sent: 08 June 2001 17:32
  To: 'soap-user@xml.apache.org'
  Subject: Configuration Error


  I've been getting this error message.
  I was wondering if anyone knew why.
  java org.apache.soap.server.ServiceManagerClient
http://localhost/soap/servlet/rpcrouter list
  Ouch, the call failed:
    Fault Code   = SOAP-ENV:Server.Exception:
    Fault String = java.lang.NoSuchMethodError

  If i just go to http://localhost/soap/servlet/rpcrouter, i do get,
  SOAP RPC Router
  Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to
me.

  Thanks,

  -Eliot