I am using the WSDL first approach for web services development using Apache CXF.
A number of element is the xml schema are mandatory and I have implemented validation using the handler.xml.
The issue I face is I am not able to get which field in the payload is causing the validation error
I get a message something like
<faultstring>cvc-datatype-valid.1.2.1: 'q' is not a valid value for 'integer'.</faultstring>
Let me know your thoughts on how can I go about trapping the exact xml element names in the error message as part of the validation.