This content has been marked as final.
Show 2 replies
-
1. Re: web service payload validation
asoldano Mar 29, 2012 5:18 AM (in response to gunnarbos)1 of 1 people found this helpfulBe 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
-
2. Re: web service payload validation
gunnarbos Mar 29, 2012 9:14 AM (in response to asoldano)Hi,
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.
/Gunnar