Hmm, when I did this (2 years ago), the error messages *did* give the
element that failed, see here for the sample output:
http://www.jroller.com/gmazza/entry/soap_xml_schema_validation
Glen
On 09/19/2012 03:13 PM, Christian Gräfe wrote:
Hello,
I'm using the CXF version 2.6.2 on the server side with enabled schema
validation.
Due to special requirements I need to catch the soap faults, which happens
after a validation error, and wrap the message into a defined structure.
Curently I'm using a SOAPMessageHandler to filter he soap fault message.
I get a fault message like this:
cvc-enumeration-valid: Value 'Y' is not facet-valid with respect to
enumeration '[J, N]'. It must be a value from the enumeration.
It is possible to get the xml element which is causing the problem?
best regards
Christian G.
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza