Hello,
I am facing a strange problem. Castor throws an Exception when
unmashalling a SOAP response from a Web Service :
Caused by: org.xml.sax.SAXException: unable to find FieldDescriptor for
'Cxin' in ClassDescriptor of IdDossier_mini
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1899)
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1394)
To figure the cause of the problem, I copied the XML into a file and
wrote a programm to unmarshall this file. When I do so, I get no error,
although the mappig file is the same.
I really don't no where to look for, since I cannot reproduce the
problem with a local data file. I also have no way to modifiy the XML
data comming from the service.
Any hints about where to look for the cause of this strange problem
would be greatly appreciated.
(I am using Castor with Spring OXM)
Pierre-Yves