You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Suneet Shah <su...@gmail.com> on 2009/07/06 17:33:20 UTC

Schema Validation in CXF

Hello

I have service that I have created with CXF 2.2.1 / JAX-WS annotations 
and deployed it onto JBoss. However, none of the rules are being honored 
- ie. Elements in the wrong order are allowed, so are missing elements 
when they are marked as required.  Is there a way to turn on validation 
so that these errors are caught?   I generated a service in Axis using 
the same wsdl and the validation is working there.

Thanks
Suneet


Re: Schema Validation in CXF

Posted by Suneet Shah <su...@gmail.com>.
Thank you very much for the quick reply


Andrew Clegg wrote:
> This is a FAQ!
>
> http://cxf.apache.org/faq.html
>
> Andrew.
>
> 2009/7/6 Suneet Shah <su...@gmail.com>:
>   
>> Hello
>>
>> I have service that I have created with CXF 2.2.1 / JAX-WS annotations and
>> deployed it onto JBoss. However, none of the rules are being honored - ie.
>> Elements in the wrong order are allowed, so are missing elements when they
>> are marked as required.  Is there a way to turn on validation so that these
>> errors are caught?   I generated a service in Axis using the same wsdl and
>> the validation is working there.
>>
>> Thanks
>> Suneet
>>
>>
>>     
>
>
>
>   

Re: Schema Validation in CXF

Posted by Andrew Clegg <an...@nervechannel.com>.
This is a FAQ!

http://cxf.apache.org/faq.html

Andrew.

2009/7/6 Suneet Shah <su...@gmail.com>:
> Hello
>
> I have service that I have created with CXF 2.2.1 / JAX-WS annotations and
> deployed it onto JBoss. However, none of the rules are being honored - ie.
> Elements in the wrong order are allowed, so are missing elements when they
> are marked as required.  Is there a way to turn on validation so that these
> errors are caught?   I generated a service in Axis using the same wsdl and
> the validation is working there.
>
> Thanks
> Suneet
>
>



-- 
:: http://biotext.org.uk/ ::