I'm trying to make the cxf-wsdl-first example to validate requests against schema. Everything builds and deploys without errors but the service still accepts requests which are invalid according to the schema. It looks like no validation is being done. I'm using FUSE ESB version 18.104.22.168.
<jaxws:endpoint name="soap" wsdlLocation="classpath:person.wsdl" createdFromAPI="true">
I can't figure out what is missing so I will be grateful for any suggestions.
You can't use busCfg to enable schemavalidation.
You need simply add schemaValidationEnabled="true" for cxfbc consumer endpoint.
We have ESB-819 to track this issue.
As you are using fuse esb 3.4.0.x version, you need wait for next 22.214.171.124 release which will include this fix.