1 Reply Latest reply on Feb 15, 2007 11:24 AM by Raj Tiwari

    org.jboss.ws.WSException: Cannot find java method when invok

    Raj Tiwari Newbie

      Hi,
      Using JBoss 4.0.5 with NetBeans 5.5.

      When I try to invoke a web service operation using a generated client, I see the following exception in my jboss output:

      ERROR [SOAPFaultExceptionHelper] SOAP request exception
      org.jboss.ws.WSException: Cannot find java method: myOperation
       at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:213)
       at org.jboss.ws.binding.EndpointInvocation.getJavaMethod(EndpointInvocation.java:82)
       at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:87)
       at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
       at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
       at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
       at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      


      I am probably making a very basic mistake here. Any ideas?

      Thanks.
      -Raj