axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <deep...@gmail.com>
Subject Re: ERROR org.apache.axis2.rpc.receivers.RPCMessageReceiver - Exception occurred while trying to invoke service method getStoppedReaders ---java.lang.IllegalArgumentException: null rcl
Date Tue, 31 Jul 2007 05:11:05 GMT
Hi ruchira ,
Either attach your full service code or try with Axis2 1.3 RC2. By
looking at your code it is bit difficult for me to figure out the
issues. And wrote the following service and it worked fine for me.

 public List getRes(int a, int b) throws Exception {
        List list = new ArrayList();
        list.add("ddd");
        list.add("ddd");
        list.add("ddd");
        return list;
    }

Thanks
Deepal
> hi,
>     my webservice is like that
> public List getStoppedReaders() throws SOAPException {
> 		List stoppedReaderList=null;
> 		try {
> 			stoppedReaderList=systemControl.getStoppedReaders();
> 			return stoppedReaderList;
> 		} catch (Exception e) {
> 			logger.error("This is Hibernate exception some error with data",e);
> 	        throw new SOAPException("This is Hibernate exception some error
> with data");
> 		}
> 	}
>
>
>
> and this stoppedReaderList is woring fine it is getting list of stopped
> reader
>
>
> but now in my client
>
>
> 		SystemControlWSStub getStoppedReaderStub=new SystemControlWSStub();
> 		GetStoppedReadersResponse getStoppedReadersResponse =
> getStoppedReaderStub.getStoppedReaders();
>
>
> getStoppedReadersResponse is giving Error
>
> ERROR org.apache.axis2.rpc.receivers.RPCMessageReceiver - Exception occurred
> while trying to invoke service method getStoppedReaders 
> ---java.lang.IllegalArgumentException: null rcl
> at
> org.codehaus.jam.internal.reflect.ReflectClassBuilder.<init>(ReflectClassBuilder.java:47)
> 	at
> org.codehaus.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:173)
> 	at
> org.codehaus.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
> 	at
> org.codehaus.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
> 	at
> org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
> 	at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
> 	at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:328)
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:254)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> 	at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> 	at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Thread.java:595)
>
> Any solution for this exception.
>
> Thanks in advance
> Regards
> Ruchira
>
> 		
> 			
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message