On Tuesday 16 December 2008 11:06:35 am Sergey Pulyaev wrote:
> CXF cxf-api-2.0.6
> Server: Jetty 6.1.9
>
> I use CXF 2.0.6 - where is no string
> if (shouldValidate(message) && !isRequestor(message)) {
> in AbstractOutDatabindingInterceptor.
>
> Is there any solution for CXF 2.0.6 ? 

Probably not.   I think the buffering for validation was added for 2.0.8, 
maybe 2.0.7.

Dan



>
> dkulp wrote:
> > If schema validation is turned on, we now (starting with 2.1.3) "cache"
> > the
> > xml events until the very end and then write them all out if no
> > exceptions are thrown during mashalling.   Thus, one fix for you would be
> > to just turn
> > on schema validation.     Obviously, the schema validation invokes some
> > extra
> > overhead.   Thus, we probably could introduce a new flag to turn on the
> > buffering.      If you would like to tackle that, a patch to
> > AbstractOutDatbindingInterceptor would be all that is needed.
> > On line 75, there is:
> > if (shouldValidate(message) && !isRequestor(message)) {
> > that would just need to be updated to check extra flags.



-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to