Daniel Kulp wrote:
> 
> On Thursday 25 September 2008 10:07:00 am Austin Lowry wrote:
>> I've searched around, but I can't find a clear answer to this. Does
>> CXF offer valiation of request data against the schema including the
>> enforcement of restrictions? I have seen where you can use JAXB
>> validation, but I don't see any CXF specific validation. Is this the
>> case?
> 
> The JAXB validation is exactly that.   We feed JAXB runtime a Schema
> object 
> that represents the data in the message and JAXB uses that to validate the 
> data as it's parsed.   That includes the facets and such.
> 
> -- 
> Daniel Kulp
> [email protected]
> http://www.dankulp.com/blog
> 

Dan, you wrote the above about two years ago -- what is the JAXB validation
method that you were referring to back then?  The only thing I can see in
our guide is a new SchemaValidation annotation
(https://cwiki.apache.org/confluence/display/CXF20DOC/2.3+Migration+Guide),
but that only kicks in with CXF 2.3.  Does CXF also offer a more
"traditional" way of doing JAXB validation of SOAP requests and responses?

Thanks,
Glen

-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Request-Validation-tp558512p2262416.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to