On Thursday, August 18, 2011 5:57:02 AM Evangelina wrote:
> Hi! Thanks for answering.
> I'm pretty new to CXF so please correct me if I'm wrong, but doesn't the
> 'mustUnderstand' attribute specifies if a header entry is mandatory or not?
> From what I saw in the code it just checks if the QName is understood or
> not, but I haven't seen that it checks the semantics.
> In my case I would like to be able to validate the header entries against
> the schema the way I can do with the body.
> 
> Surely I can have that logic on an interceptor. But I also wanted to make
> sure that the 'schema-validation-enabled' attribute is indeed only
> validating the body, and this is so by design.

Well, it should also validate any headers that are mapped into parameters on 
the method.   Anything not mapped to parameters will not be processed by CXF.

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

Reply via email to