File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

NoSuchMethodError in my Axis Client

ernie bert

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>(
at org.apache.axis.configuration.FileProvider.configureEngine(
at org.apache.axis.AxisEngine.init(
at org.apache.axis.AxisEngine.<init>(
at org.apache.axis.client.AxisClient.<init>(
at org.apache.axis.client.Service.getAxisClient(
at org.apache.axis.client.Service.<init>(

i tried out several services, this error occurs no matter what webservice i am running.
Balaji Loganathan
author and deputy

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

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

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!
I agree. Here's the link:
subject: NoSuchMethodError in my Axis Client
It's not a secret anymore!