1 of 1 people found this helpful
Be sure to use the @org.apache.cxf.annotations.SchemaValidation annotation and not the jbossws-native one, as JBoss 7 comes with JBossWS-CXF stack in it by default. Also see http://cxf.apache.org/faq.html#FAQ-HowcanIturnonschemavalidationforjaxwsendpoint%3F
You were right, that I had the wrong annotaition. I have now changed it to org.apache.cxf.annotations.SchemaValidation,
and added @SchemaValidation(enabled=true) but the payload is still not validated.
Do I have to do anything more? You added a link but I don't know how to apply it if needed.