[JBossWS] - ServiceEndpointInvoker rethrows runtimeexception, headers th
by zach.mabe@cox.com
In version 2.0.3.GA, I am seeing an issue where the org.jboss.ws.core.server.ServiceEndpointInvoker is catching a runtimeexception thrown from within a handler, calling the handleFault operations of the handlers but then rethrowing the exception.
Since this is a runtimeexception, it ends up being passed back out to org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(...) where a new SOAP Fault message is created because (I think) the requesthandlerimpl doesn't repeek the messagecontextstack for a fresh context.
Is this a bug or am I not understanding how it is supposed to work.
The main problem with this is my custom handler throws a WebServiceException when the request isn't valid. I see that the WSAddressingServerHandling is putting the correct ws-addressing stuff in the response. But that response isn't what ends up being sent to the client. The client then complains because the response is missing the action header.
Thanks
Zach Mabe
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137911#4137911
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137911
16 years, 9 months