Hello,
  I'm trying to run the 'SendMessage' sample, with no luck.
Here is the error I get; I've made sure the classpaths are all
correct. The rpcrouter examples all work fine though.

  What could be the problem here ? I'd appreciate any help.
The method on the server-side has the correct signature

    void XXX(Envelope, SOAPContext, SOAPContext)


I tried putting debugging printfs in 
    org.apache.soap.util.MethodUtils.getEntryPoint
  >>>  m=targetClass.getMethod (methodName, argTypes);

and it is calling the correct targetClass with the right
methodName and argument-types. Is there any securiy issue
involved here ? Why doesn't the native code find
org.apache.soap.Envelope ?


- Atul


WEB_SERVICE RESPONSE
--------------------

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Exception while handling service request: 
org/apache/soap/Envelope</faultstring>
<faultactor>/soap/servlet/messagerouter</faultactor>
<detail>
<stackTrace>java.lang.NoClassDefFoundError: org/apache/soap/Envelope
        at java.lang.Class.getMethod0(Native Method)
        at java.lang.Class.getMethod(Class.java, Compiled Code)
        at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:114)
        at org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548)
        at org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528)
        at org.apache.soap.server.MessageRouter.invoke(MessageRouter.java:54)
        at org.apache.soap.providers.MsgJavaProvider.invoke(MsgJavaProvider.java:125)
        at 
org.apache.soap.server.http.MessageRouterServlet.doPost(MessageRouterServlet.java:268)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
        at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
        at java.lang.Thread.run(Thread.java, Compiled Code)
</stackTrace>
</detail>
</SOAP-ENV:Fault>

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Reply via email to