cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heemskerk, Marcel \(M.\)" <Marcel.Heemsk...@uwv.nl>
Subject RE: Schema Validation in CXF
Date Wed, 21 May 2008 15:45:37 GMT


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:dkulp@apache.org] 
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
dkulp@apache.org
http://www.dankulp.com/blog





Mime
View raw message