axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: Error while invoking service method..
Date Tue, 20 May 2008 04:03:39 GMT
Please check the differences in the constructors (visibility
public/private/protected... ? ) of your two web services. Make sure
it's possible to create an object of  the second web service class
from out side the package and the inheritance hierarchy..

~Thilina

On Fri, May 16, 2008 at 2:01 PM, Minal Satpute
<minal_satpute@hotmail.com> wrote:
> Hello All,
>
> I have build a two web services very similar to each other. First one is
> working ok but the second one giving an error. The stack trace is like
> following. Help will be really appreciated.
>
> [ERROR] Exception occurred while trying to invoke service method processCdr
> org.apache.axis2.AxisFault
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>         at
> org.apache.axis2.engine.DefaultObjectSupplier.getObject(DefaultObject
> Supplier.java:29)
>         at
> org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java
> :345)
>         at
> org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.ja
> va:655)
>         at
> org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.j
> ava:603)
>         at
> org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java
> :535)
>         at
> org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:15
> 3)
>         at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.jav
> a:188)
>         at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic
> (RPCMessageReceiver.java:98)
>         at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
> sLogic(AbstractInOutMessageReceiver.java:40)
>         at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
> ssageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
> uest(HTTPTransportUtils.java:275)
>         at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
> 20)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:269)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:188)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:174)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:117)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:108)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:174)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :874)
>         at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
> rocessConnection(Http11BaseProtocol.java:665)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
> int.java:528)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
> lowerWorkerThread.java:81)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
> ool.java:689)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.InstantiationException
>         at
> sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance
> (InstantiationExceptionConstructorAccessorImpl.java:30)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at java.lang.Class.newInstance0(Class.java:350)
>         at java.lang.Class.newInstance(Class.java:303)
>         at
> org.apache.axis2.engine.DefaultObjectSupplier.getObject(DefaultObject
> Supplier.java:27)
>         ... 28 more
>
> Regards,
> Minal
>
> ________________________________
> Keep your kids safer online with Windows Live Family Safety. Help protect
> your kids.



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

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


Mime
View raw message