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.

*

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

Reply via email to