Here is my XML output from my WS call. -------------------------------------- <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:root xmlns:ns2="http://abc.pr/v1.0" res="A"> <lName>KELLER</lName> <bCode Name="EMP NAME"/> <areas> <area name="TEXAS"> <aFS> <aF id="KI"> <type name="typeName1"/> </aF> .... .... </aFS> </area>
<area name="VIRGINIA"> <aFS> <aF id="AI"> <type name="typeName2"/> </aF> .... .... </aFS> </area> </areas> </ns2:root> My UI specific object structure. ------------------------------ public class root { private List<area> areaList; <======> List of area names only private List<PAF> pAFList; <======> List of all aF } public class PAF { private String id; private Type type; } public class Type { private String name; } public class BCode { private String name; } public class Area { private String name; } I am trying to populate the data from XML into my UI specific object structure. Not sure how to map pAFList with XML in binding file. Pls suggest me how to do it. Thanks, Saravan -- View this message in context: http://old.nabble.com/Mapping-XML-with-different-object-structure-using-binding-file-tp32973062p32973062.html Sent from the jibx-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users