in cxf-soap/src/main/java/org/acme/cxf/soap/wsdl/MyWsdlRouteBuilder.java [50:60]
CxfEndpoint customer() {
CxfEndpoint customersEndpoint = new CxfEndpoint();
customersEndpoint.setWsdlURL("wsdl/CustomerService.wsdl");
customersEndpoint.setServiceClass(CustomerService.class);
customersEndpoint.setAddress("/customer");
customersEndpoint.setProperties(new HashMap<>());
// Request validation will be executed, in particular the name validation in getCustomersByName
customersEndpoint.getProperties().put("schema-validation-enabled", "true");
return customersEndpoint;
}