Guys, I have an xml for which I generated the xsd and using this xsd, I generated my model objects using xjc.
When I tried them using my route, I got the following exception: org.apache.camel.TypeConversionException: Error during type conversion from type: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl to the required type: org.example.filexml.model.FileName with value [pss:person: null] due null Sounds to me like it has got something to do with the namespaces. What I did was I created the xsd for the subset of my xml that I extracted from my original xml. Could this be a reason to this? Regards, Jothi