Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchMethodError in my Axis Client

 
ernie bert
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
ernie bert
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, the problem solved itself. the error only occurs when i start the client from my ide (visual cafe). anyway, thx for your help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic