Hi
On 19/07/12 20:19, Penmatsa, Vinay wrote:
Hi,
I seems that when an exception is thrown by service code, the StaxOutInterceptor and 
StaxOutEndingInterceptor are added to the outbound chain. But StaxOutEndingInterceptor is 
throwing this exception:" Trying to write END_DOCUMENT when document has no root 
(ie. trying to output empty document)." at line 54 (xtw.writeEndDocument()).
Any advice on how to handle this? Am I supposed to create an interceptor that 
runs after StaxOutInterceptor and writes a document to the stream?

Can you provide more information please ?

We have a couple of tests where service exceptions are thrown and get propagated to the servlet layer, in cases where no matching ExceptionMappers are available, and StaxOutInterceptor is not interfering.

Cheers, Sergey


Regards,
Vinay



Reply via email to