When I run my webservice client, i get this error. any ideas what could cause this?
Exception in thread "main" java.lang.NoSuchMethodError at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:101) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209) at org.apache.axis.AxisEngine.init(AxisEngine.java:187) at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172) at org.apache.axis.client.AxisClient.<init>(AxisClient.java:88) at org.apache.axis.client.Service.getAxisClient(Service.java:143) at org.apache.axis.client.Service.<init>(Service.java:152)
i tried out several services, this error occurs no matter what webservice i am running.
At what stage ?? How did you generated your client codes?? Did you managed to deploy and consume simple sample application that comes with apache axis??
i generated the service-stub (InteropTestPortType, InteropTestService, InteropTestServiceLocator and InteropTestSoapBindingStub) via the axis wsdl2java tool. then i created a simple test class, like this:
the error occurs at runtime. i dont want to run a webservice, but build a client that uses an existing one.
ernie bert
Greenhorn
Joined: Apr 13, 2005
Posts: 4
posted
0
ok, the problem solved itself. the error only occurs when i start the client from my ide (visual cafe). anyway, thx for your help!