can someone help me ?


i use asp.net webservice return follow xmldatadocument:( http://localhost/sprydata/datatablewebservice.asmx/getcustomers)
<?xml version="1.0" encoding="utf-8"?>
<newdataset>
<table>
<customerid>abc </customerid>
<companyname>abc company</companyname>
<contactname>john smith</contactname>
<contacttitle>owner</contacttitle>
<address>one way</address>
</table>
<table>
<customerid>alfki</customerid>
<companyname>alfreds futterkiste</companyname>
<contactname>maria anders</contactname>
<contacttitle>sales representative</contacttitle>
<address>obere str. 57</address>
<city>berlin</city>
<postalcode>12209</postalcode>
<country>germany</country>
<phone>030-0074321</phone>
<fax>030-0076545</fax>
</table>
<table>
<customerid>anatr</customerid>
<companyname>ana trujillo emparedados y helados</companyname>
<contactname>ana trujillo</contactname>
<contacttitle>owner</contacttitle>
<address>avda. de la constitución 2222</address>
<city>méxico d.f.</city>
<postalcode>05021</postalcode>
<country>mexico</country>
<phone>(5) 555-4729</phone>
<fax>(5) 555-3745</fax>
</table>
</newdataset>

i can use in datagrid {service.getcustomers.lastresult.getcustomersresult.newdataset.table}
but can't use in arraycollection , xmllistcollection.

if can use ,please tell me ,thanks !

email: youngsun45@gmail.com

you won't able use xml in arraycollection directly. if need use arraycollection have convert elements objects , add them yourself. in example provided xmllistcollection being created on behalf when assign e4x expression dataprovider via binding. within setter dataprovider property there check of data type (in case xmllist) , based on type constuct appropriate collection support object (in case xmllistcollection).



More discussions in LiveCycle Data Services


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support