You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Ravi Natarajan <NR...@quark.de> on 2002/08/29 14:53:54 UTC

SOAP Exception

Hi,

	I am testing my soap services, at the service level it is working
fine and I can debug the service to see that my service is runnign ok. But I
get SOAP Exception after my java class returns the result. I dont know why
this happens. Can any one tell me why. this is my stack trace. The same
services where working fine some time and now I get this error.


The session ID =2983513
[SOAPException: faultCode=SOAP-ENV:Server; msg=Exception from service
object: null; targetException=java.lang.NoSuchMeth
odError]
        at org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:168)
        at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:28
7)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)

I am able debug into my SOAP Service Implementar java class and this works
fine that be seen from the return of session ID in bold as shown above.


Can any point where is the problem.







RE: SOAP Exception

Posted by Alen Ribic <al...@fuzzylogic.co.za>.
It appears that your service method might not be located in your deployment
descripter[dd] file.

e.g.
<isd:provider type="java"
         scope="Application"
         methods="doSomething getCount"> <!-- White Space delimiter the
methods -->

I think the MethodUtils.getMethod() is returning a null Method object.

Alen



-----Original Message-----
From: Ravi Natarajan [mailto:NRavi@quark.de]
Sent: 29 August 2002 02:54 PM
To: Soap-User (E-mail)
Subject: SOAP Exception


Hi,

	I am testing my soap services, at the service level it is working
fine and I can debug the service to see that my service is runnign ok. But I
get SOAP Exception after my java class returns the result. I dont know why
this happens. Can any one tell me why. this is my stack trace. The same
services where working fine some time and now I get this error.


The session ID =2983513
[SOAPException: faultCode=SOAP-ENV:Server; msg=Exception from service
object: null; targetException=java.lang.NoSuchMeth
odError]
        at org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:168)
        at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:28
7)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)

I am able debug into my SOAP Service Implementar java class and this works
fine that be seen from the return of session ID in bold as shown above.


Can any point where is the problem.







--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


RE: SOAP Exception

Posted by Alen Ribic <al...@fuzzylogic.co.za>.
It appears that your service method might not be located in your deployment
descripter[dd] file.

e.g.
<isd:provider type="java"
         scope="Application"
         methods="doSomething getCount"> <!-- White Space delimiter the
methods -->

I think the MethodUtils.getMethod() is returning a null Method object.

Alen



-----Original Message-----
From: Ravi Natarajan [mailto:NRavi@quark.de]
Sent: 29 August 2002 02:54 PM
To: Soap-User (E-mail)
Subject: SOAP Exception


Hi,

	I am testing my soap services, at the service level it is working
fine and I can debug the service to see that my service is runnign ok. But I
get SOAP Exception after my java class returns the result. I dont know why
this happens. Can any one tell me why. this is my stack trace. The same
services where working fine some time and now I get this error.


The session ID =2983513
[SOAPException: faultCode=SOAP-ENV:Server; msg=Exception from service
object: null; targetException=java.lang.NoSuchMeth
odError]
        at org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:168)
        at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:28
7)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)

I am able debug into my SOAP Service Implementar java class and this works
fine that be seen from the return of session ID in bold as shown above.


Can any point where is the problem.







--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>