I know this problem is specific to JAXB but I wonder if it's either known issue or I have wrong setup. I am trying to force check on required XML elements in JAX-RS request using CXF2.2/JAXB2.1. I can still successfully pass thru XML doc with missing elements leading to backend logic failing with NPEs etc. I've found one suggestion on specifying JAXB jars before CXF jar on classpath but it's hard to do with webapp classloader. Any ideas?
cheers, andy. -- View this message in context: http://www.nabble.com/JAXB-ingores-%40XmlElement%28required%3Dtrue%29-on-unmarshalling-in-JAX-RS-tp22122276p22122276.html Sent from the cxf-user mailing list archive at Nabble.com.
