Not yet - first we need to have a WADL-to-Java generation working, and
this is the task which is on the top of my list and needs to be done
fast, before I get submerged in the security work around JAX-RS...

more comments inline

On Thu, May 5, 2011 at 5:13 PM, yhu <[email protected]> wrote:
> Thanks.
>
> The validation mechanism in that link requires assign .xsd file explicitly,
> but I would like to know if the validation can be based on the schema in
> WADL generated automatically in runtime, just like JAX-WS's way.
>

AFAIK JAX-WS does not do the validation of the incoming data based on
the auto-generated schema - rather. the schema available in the
WSDL-first case is used.  May be it caches the schema created during
the first WSDL request and then reuses for the validation afterwards,
not sure. Realistically, once we get WADL-first case working, we then
start looking into using the available schemas for the validation -
but that will be done later on...In the short term, schemas will need
to be referenced which can be acceptable given that WADL grammar can
also refer to external schemas

Sergey

> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/How-to-enable-xml-schema-validation-for-CXF-Restful-web-service-tp4371287p4373219.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Sergey Beryozkin

Application Integration Division of Talend
http://sberyozkin.blogspot.com

Reply via email to