You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Cohan, Sean" <SC...@goSPS.com> on 2002/06/27 21:56:22 UTC

Errors running sample clients

I am a complete newbie (to axis) and have just installed axis.  I'm running
through the user guide samples and I get an error when trying to run
clients.  For example, when I run the example2\CalcClient as instructed in
the user guide, I get the following error:

C:\xml-axis-beta2\samples\userguide\example2>java
samples.userguide.example2.CalcClient -p8080 add 2 5
Exception in thread "main" java.lang.NoSuchMethodError
        at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:106)
        at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java
:209)
        at org.apache.axis.AxisEngine.init(AxisEngine.java:173)
        at org.apache.axis.AxisEngine.<init>(AxisEngine.java:158)
        at org.apache.axis.client.AxisClient.<init>(AxisClient.java:84)
        at org.apache.axis.client.Service.getAxisClient(Service.java:135)
        at org.apache.axis.client.Service.<init>(Service.java:144)
        at samples.userguide.example2.CalcClient.main(CalcClient.java:89)

I've checked my CLASSPATH and everything seems to be in order.  What am I
doing wrong?  Thanks.



Re: Errors running sample clients

Posted by Jools <jo...@jools.org>.
 
> I am a complete newbie (to axis) and have just installed axis.  I'm running
> through the user guide samples and I get an error when trying to run
> clients.  For example, when I run the example2\CalcClient as instructed in
> the user guide, I get the following error:

I had the same problem and I traced it down to xerces. I changed it for
crimson and the problem went away.

I was going to investigate the root cause, but as usual I've not had the
time.

Might be fixed in CVS though ?

--Jools