On Monday, January 16, 2012 12:40:43 PM Waleed Zedan wrote:
> Hi,
> 
> I have added the end point with schema validation:
> <jaxws:endpoint id="slmCallbackInterface"
> implementor="#slmCallbackWebService"
>  implementorClass="com.ws.impl.SLMCallbackImpl"
> address="/SLMCallbackInterface">
>  <jaxws:properties>
> <entry key="schema-validation-enabled" value="true" />
>  </jaxws:properties>
> </jaxws:endpoint>
> 
> The endpoint is referencing a bean implementation as mentioned above, but
> the XSD input is not validated although the JAXB objects contain all
> required = true and nillable = false
> 
> Any advice why CXF is not validating the input against the XSD definition
> in the JAXB objects?

Did you actually turn on schema validation?   By default, it's not turned on as 
it introduces a lot more processing complexity.

http://cxf.apache.org/faq.html#FAQ-HowcanIturnonschemavalidationforjaxwsendpoint%3F

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to