Thanks, the answer is:
    <jaxws:endpoint ...... >
        <jaxws:properties>
            <entry key="schema-validation-enabled" value="true" />
        </jaxws:properties>
    </jaxws:endpoint>

By the way, where do i find all the other JAX WS properties?





-----Oorspronkelijk bericht-----
Van: Daniel Kulp [mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 15 mei 2008 17:48
Aan: dev@cxf.apache.org
Onderwerp: Re: Schema Validation in CXF




See the wsdl_first sample in the distribution.   It turns on  
validation for both client and server.

Dan


On May 15, 2008, at 10:07 AM, Heemskerk, Marcel (M.) wrote:

>
> It turns out XSD validation is turned off by default in CXF. How do i
> turn it on, to generate a SOAP fault when the XML is not schema 
> compliant?
>
> I expect it is implemented in some Interceptor but i could not find 
> one. Any help?
>
>
> Grtzzz,
> Marcel
>

---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to