CXF 2.2.12: How to turn off schema validation on the client side

后端 未结 4 1740
后悔当初
后悔当初 2021-01-04 20:46

I would like to turn off schema validation for JAXB-bound messages. I am dealing with the client-side CXF code (WSDL first generation). I have tried using



        
4条回答
  •  渐次进展
    2021-01-04 21:07

    To turn off the schema validation you should set the schema-validation-enabled property to false.

    According to documentation referred by you (CXF FAQ).

    To enable schema validation (all requests and responses will be validated against schema) set

    
    

    To disable schema validation (none of the requests nor responses will be validated against schema) do nothing cause it is the default behavior or set

    
    

提交回复
热议问题