aspose file tools*
The moose likes Web Services and the fly likes NoSuchMethodError in my Axis Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "NoSuchMethodError in my Axis Client " Watch "NoSuchMethodError in my Axis Client " New topic
Author

NoSuchMethodError in my Axis Client

ernie bert
Greenhorn

Joined: Apr 13, 2005
Posts: 4
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.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
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??


Spritle Software Blogs
ernie bert
Greenhorn

Joined: Apr 13, 2005
Posts: 4
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
ok, the problem solved itself. the error only occurs when i start the client from my ide (visual cafe). anyway, thx for your help!
 
Consider Paul's rocket mass heater.
 
subject: NoSuchMethodError in my Axis Client