CXF we do schema validation in databinding(like jaxb) when marshal/unmarshal.
When you use it in PAYLOAD mode, the schema validation doesn’t work out of box.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On June 20, 2014 at 5:42:30 PM, Jose ([email protected]) wrote:
> Hi,
>  
> I am using camel CXF component and I am trying to run a schema validation
> for the SOAP Requests. I have my CXF Endpoint defined using
> and I have specified the wsdlURL, and xmlns attribues.
> Also, I am using PAYLOAD mode.
>  
> I've tried to add this to my CXF endpoint definition but it looks like it's
> not doing anything.
>  
>  
>  
>  
>  
> If a send non-valid request, I am not getting any validation error.
>  
> Do I need to use a different mode?
>  
> I am using Camel 2.11.
>  
> Thank you very much!
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-CXF-Schema-validation-PAYLOAD-mode-tp5752627.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to