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 Jared Holdcroft <jh...@opaltelecom.co.uk> on 2001/03/22 12:54:37 UTC

Using Soap 2.1 samples with Tomcat

Hi,

Probably an easy question but I'm having real trouble running the samples
provided with Soap 2.1.

I used the following command to deploy the stockquote sample service:

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

And i got this message:

Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError

I then used the web based admin interface to deploy the service using the info from
the descriptor file and then tried to use the service with the following command:

java samples.stockquote.GetQuote http://dev-server/soap/servlet/rpcrouter IBM

And got this reply again.

Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError

I have checked my classpath and it is including all the files including the samples
directory.  Tomcat is running on Apache under windows 2000.

Any help or pointers in the right direction would be hugely appreciated.

Thanks in advance,

Jared Holdcroft