dev@jax-ws.java.net

NPE for oneway tests

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Sat, 18 Feb 2006 11:16:18 -0800

For oneway tests, Packet.getMessage() returns null and thus
SEIInvokerPipe is throwing an NPE as shown:

java.lang.NullPointerException
         at
com.sun.xml.ws.server.sei.SEIInvokerPipe.process(SEIInvokerPipe.java:75)
         at
com.sun.xml.ws.addressing.jaxws.WsaServerPipe.process(WsaServerPipe.java:75)
         at
com.sun.xml.ws.server.WSEndpointImpl$1.process(WSEndpointImpl.java:102)
         at
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:99)
         at
com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:155)
         at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:77)
         at
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:163)
         at
com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:47)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

Even the WS-A pipe (which is before SeiInvokerPipe) gets the message as
null.

Any ideas ?

-Arun
-- 
got Web Services ?
Download Java Web Services Developer Pack from
http://java.sun.com/webservices