Hello Keith,
This is as regards the Unmarshalling of the XML document which in turn is generated by the Castor marshaller.
My Mapping file contents:
<field name="niederlassungsNr"
type="java.lang.String" method="getNiederlassungsNr">
<bind-xml name="NiederlassungsNr" node="element"/>
</field>
the above indicates the change in the xml tag as compared to the attribute name in the Java class.
The run time exception for unmarshalling:
org.xml.sax.SAXException: unable to find FieldDescriptor for 'niederlassungsNr' in ClassDescriptor of Auftragsposition
My requirement is the change of the XML tag as above...
Marshalling works fine generating the XML tag...
Unmarshlling retunrs an run time excpetion.The same when changed to the following works:
<field name="niederlassungsNr"
type="java.lang.String" method="getNiederlassungsNr">
<bind-xml name="niederlassungsNr" node="element"/>
</field>
How do i handle the above.....i want both the marshalling and the unmarshalling to work.
Regards,
Chetan
Chat with friends online, try MSN Messenger: Click Here
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
