This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I turned on @SchemaValidation on my CreditAssessmentServicePortImpl
class,I am getting
org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '' is not a valid value for 'integer'.</faultstring>
There are many fields in my XSD,How do I find out which field causes this exception?
This exception stack trace does not say about which field it is.Can you please help me out to resolve this issue?
* This class was generated by the JAX-WS RI.
* Oracle JAX-WS 2.1.4
* Generated source version: 2.1
When I needed to do this, I had the generated JAXB code available. So I debugged it one step at a time. In your case, you could consider putting breakpoints on wherever your integer fields are being parsed.