I'm using a webservice to bring some data into Flex and display it in a 
datagrid.  For non-repeating items (e.g. Name) it works fine.  But if there are 
several instances of something (e.g. Role), I cannot figure out how to get at 
them.  Does anyone know how I could put them in a list or combobox or 
something?  

Here is an example of what the incoming XML might look like (with a space after 
the < so the input to the forum doesn't get processed!).  
If I use a datagrid with a datagridcolumn where datafield="UserID", 
"UserDescription", or "PrimaryPermissionList", it works great. But I get an 
error that RoleName doesn't exist no matter what I do.  I tried an Itemrenderer 
to no avail; could be me.

Thanks.
Jim

< ?xml version="1.0"?>
< SOAP-ENV:Get__CompIntfc__USER_PROFILEResponse 
xmlns:SOAP-ENV="http://xmlns.oracle.com/Enterprise/Tools/schemas/M405276.V1";>
  < SOAP-ENV:UserID>axa2131</SOAP-ENV:UserID>
  < SOAP-ENV:UserDescription>Anthony Adams</SOAP-ENV:UserDescription>
  < SOAP-ENV:PrimaryPermissionList>EMPTY</SOAP-ENV:PrimaryPermissionList>
  ...
  < SOAP-ENV:Roles>
    < SOAP-ENV:RoleName>PROPERTY_ADMIN</SOAP-ENV:RoleName>
  < /SOAP-ENV:Roles>
  < SOAP-ENV:Roles>
    < SOAP-ENV:RoleName>LOGON_FIN</SOAP-ENV:RoleName>
  < /SOAP-ENV:Roles>
  < SOAP-ENV:Roles>
    < SOAP-ENV:RoleName>PORTAL_USER</SOAP-ENV:RoleName>
  < /SOAP-ENV:Roles>
...

Reply via email to