Hi Ashok , No such restrictions . Is there anyway to look at the service implementation ?
Deepal > Hi Devs and Users , > > I m using latest Axis2 build , when exposed a POJO as a web service > which returns a complex data structure say a class , i m getting a > Null pointer Exception at the RPCMessageReciever when building the > response. I am able to invoke the service. Soap fault says its > env:Receiver fault > > Does is this issue at the Axis2 side (since some surfing let me devs > suggesting the reporter to create a JIRA for it .. I couldnt locate > the JIRA tough ) > > or > > Is there any restriction that for POJO Service returning complex > data structure should be a Java Bean? > > Any help is really appreciated . > > Here is the stack trace. > org.apache.axiom.om.OMException: java.lang.NullPointerException > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249) > at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:327) > at > org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:706) > at > org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElementImpl.java:675) > at > org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:124) > at > org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:274) > at > org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:203) > at > org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:104) > at > org.apache.axis2.rpc.receivers.RPCUtil.processResponseAsDocLitWrapped(RPCUtil.java:437) > at > org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:138) > at > org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) > at > org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) > at > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) > at > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > > With Regards , > Ashok -- Thank you! http://blogs.deepal.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
