Re: How to replace the output stream

2009-03-04 Thread Sergey Beryozkin
Hi Dan Thanks, this is a useful info. I'm thinking at the moment of introducing a flag like enableBuffering at a jaxrs:endpoint level which would find its way into all the jaxrs providers which have a corresponding setter, which would also make it possible to turn on the buffering at the indiv

Re: How to replace the output stream

2009-03-04 Thread Daniel Kulp
Sergey, There isn't a way to do this that doesn't break streaming. For the normal "soap" case, in order to properly stream, we have to kind of "assume" that writing isn't going to cause any failures. However, if schema validation is turned on, we do recognize that it could fail. (this PR

How to replace the output stream

2009-03-04 Thread Sergey Beryozkin
Hi, I'm looking at https://issues.apache.org/jira/browse/CXF-2051 at the moment. The problem is that after some initial writes to an out message's OutputStream an exception is thrown and it's handled seperately by also writing something to the output stream. Now, when it occurs the original Ou