Hello, I attach a test case that I modified from a previous JIRA (https://issues.apache.org/jira/browse/CXF-4334). It sets two values that do not meet the restriction set out in the schema yet the request is not rejected, ie no SOAP Fault is generated. If the values are null, an exception is thrown as expected (because the element is missing as per the schema).
cxf-header-validation-testcase.zip <http://cxf.547215.n5.nabble.com/file/n5717681/cxf-header-validation-testcase.zip> John -- View this message in context: http://cxf.547215.n5.nabble.com/Schema-validation-of-SOAP-headers-tp5717583p5717681.html Sent from the cxf-user mailing list archive at Nabble.com.