0 Replies Latest reply on Nov 28, 2002 1:05 PM by rgjawanda

    Bug in 3.0.4 NoSuchMethodError using AXIS soap

    rgjawanda

      I have a working version of 3.0.4 jboss
      I do have entity beans working and all kinds of other stuff.
      When I use axis I continually get this error on methods that exist.java.lang.NoSuchMethodError
      For example: getAttachmentsImpl() exists!
      I am using the example code from axis.

      I hope someone can help me.
      Ron




      Caused by: java.lang.NoSuchMethodError: org.apache.axis.Message.getAttachmentsIm
      pl()Lorg/apache/axis/attachments/Attachments;
      at ca.husky.axisxmlmessage.SparePartPrice.publishCatalog(Unknown Source)

      ... 28 more



      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider
      .java:168)
      at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
      263)
      at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
      y.java:71)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
      at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
      at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:54
      3)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
      )
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
      onHandler.java:293)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
      81)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
      Context.java:544)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
      at org.mortbay.http.HttpServer.service(HttpServer.java:875)
      at org.jboss.jetty.Jetty.service(Jetty.java:543)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
      203)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
      at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.lang.NoSuchMethodError: org.apache.axis.Message.getAttachmentsIm
      pl()Lorg/apache/axis/attachments/Attachments;
      at ca.husky.axisxmlmessage.SparePartPrice.publishCatalog(Unknown Source)

      ... 28 more