On Thu, Nov 27, 2008 at 9:26 PM, Shah Asrani <[EMAIL PROTECTED]> wrote:
> Hi, > I have created a module to handle a soap request. When the client invokes > the web service, the module class's invoke(MessageContext) gets invoked. > In the module, I write up a response as an envelope and set it on > MessageContext. I also set the property isResponseWritten to true. > However, I get the following NPE. > What is the Axis2 version you use? If you want to handle the response engage the handler to out flow. thanks, Amila. > > * > > java.lang.NullPointerException > * > > at org.apache.axis2.engine.AxisEngine.receive( > *AxisEngine.java:170*) > > 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:709*) > > at javax.servlet.http.HttpServlet.service( > *HttpServlet.java:802*) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > *ApplicationFilterChain.java:252*) > > Any ideas what could be wrong. > > Best Regards, > > > > Shah Asrani > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/