2 Replies Latest reply on Jan 23, 2003 1:23 PM by kashpaw

    Method not found problem

    kashpaw

      I'm using JBoss3.0.4/Jetty.

      I'm trying to expose an EJB via Axis, but my SOAP client always gets
      14:37:33,152 ERROR [STDERR] Method not found
      Method name = B
      Service name = LongXAction
      14:37:33,152 ERROR [STDERR] at org.apache.axis.message.SOAPFaultBuilder.endE
      lement(SOAPFaultBuilder.java:135)
      14:37:33,152 ERROR [STDERR] at org.apache.axis.encoding.DeserializationConte
      xtImpl.endElement(DeserializationContextImpl.java:865)

      My client accesses the service via the jax-rpc Service and Call interfaces at the endpoint http://localhost:8080/axis/services/LongXAction
      and tries to invoke the method "B", available in the LongXAction remote interface

      I've compared my config to the examples in CVS and on Bruce's page, but haven't been able to spot what's wrong.
      It deploys okay, and the generated wsdl looks okay (to my unpracticed eye). Here's the web-service.xml.
      I think all I need provide there about the EJB is it's jndi name, as JBoss.Net has access to the bean meta-data.
      The only major difference from the examples is that I am NOT using local interfaces for the ejb's. Do I need to? If I don't, are there appropriate changes to the web-services.xml?

      Any suggestions much appreciated.

      <deployment name="LongXAction"
      xmlns="http://xml.apache.org/axis/wsdd/"
      xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">