Todd, Are you sure it's not hitting your code? This exception is on the OUTBOUND chain while trying to write a response. That suggests your code was called and you returned "null" from your invoke method. (which according to spec is not allowed)
Dan On Thursday 01 November 2007, Todd Orr wrote: > Do I need to write an interceptor? Or do I need to configure the > endpoint to not attempt to marshal the request? > > On 11/1/07, Todd Orr <[EMAIL PROTECTED]> wrote: > > I've googled this error message, but all the results seem to apply > > to bugs in the CXF samples. I'm using the message provider technique > > for handling incoming SOAP messages and continually receive this > > exception: > > > > Nov 1, 2007 10:59:36 AM org.apache.cxf.phase.PhaseInterceptorChain > > doIntercept INFO: Interceptor has thrown exception, unwinding now > > org.apache.cxf.interceptor.Fault: Null object passed into Dispatch > > marshalling at > > org.apache.cxf.jaxws.interceptors.DispatchOutDatabindingInterceptor. > >handleMessage(DispatchOutDatabindingInterceptor.java:94) at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep > >torChain.java:207) at > > org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(Ou > >tgoingChainInterceptor.java:74) at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep > >torChain.java:207) at > > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInit > >iationObserver.java:73) at > > org.apache.cxf.transport.servlet.ServletDestination.doMessage(Servle > >tDestination.java:79) at > > org.apache.cxf.transport.servlet.ServletController.invokeDestination > >(ServletController.java:235) at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletCon > >troller.java:140) at > > org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:2 > >78) at > > org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java:2 > >56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:616) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:42 > >8) at > > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicat > >ionHandler.java:473) at > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > >568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at > > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicatio > >nContext.java:633) at > > org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at > > org.mortbay.http.HttpServer.service(HttpServer.java:909) at > > org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at > > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) > > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) > > at > > org.mortbay.http.SocketListener.handleConnection(SocketListener.java > >:245) at > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) > > > > > > It never reaches my code, so I assume this is either a bug in CXF or > > an incorrect configuration on my part. Any ideas? -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog
