Hi All, I'm trying to unmarshall the portion highlighted in green below into a map (or list) ...
<Response xmlns="http://www.foobar.com"> <response1>X</response1 > <response2>M</response2 > <detail> <tag>InternalResponseCode</tag> <value>0</value> </detail> <detail> <tag>SubErrorCode</tag> <value>0</value> </detail> <detail> <tag>InternalResponseDescription</tag> <value>no_error</value> </detail> <txnTime>2012-01-31T11:16:57.994-05:00</txnTime> <duplicateFound>false</duplicateFound> </Response > I've tried the following (as well as about a hundred permutations) without any luck. <field name="detail" get-method="getDetail" set-method="setDetail" collection="map"> <bind-xml name="detail"> <class name="org.exolab.castor.mapping.MapItem"> <field name="key" type="string"> <bind-xml name="item.tag" node="element" /> </field> <field name="value" type="string"> <bind-xml name="item.value" node="element" /> </field> </class> </bind-xml> </field> Exception at runtime is: Unable to find FieldDescriptor for 'tag' in ClassDescriptor of map-item. Is this a namespace issue or am I just off base? Thanks! Stacy