Anyone? Bueller?

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> Hello, I am really hoping someone can tell me why this code no longer
> works (it did in B2) and how to fix it. I have another DataGrid that
> is successfully pulling different data from the same call so I know
> the problem isn't in the WebService. I think perhaps the presence of
> the <MetadataType> node in the xml below is causing a problem but I am
> not sure how else I can address the collection of <Entry> nodes. Any
> help is greatly appreciated. dmws is my WebService object.
>
> Here is the relevant portion of the SOAP response:
> <Metadata>
>   <RPRDocumentHistory>
>     <MetadataType>RPRDocumentHistory</MetadataType>
>     <Entry>
>       <DocumentType>RPR</DocumentType>
>       <Plans>
>         <PlanNumber>78173</PlanNumber>
>         <PlanNumber>78167</PlanNumber>
>         <PlanNumber>78168</PlanNumber>
>       </Plans>
>       <Status>InProgress</Status>
>       <Timeframe>As of Last Month</Timeframe>
>     </Entry>
>     <Entry....>
>     <Entry....>
>   </RPRDocumentHistory>
> </Metadata>
>
> Here is my DataGrid:
> <mx:DataGrid
>
dataProvider="{dmws.GetDocument.lastResult.Metadata.RPRDocumentHistory.Entry}">
>       <mx:columns>
>             <mx:DataGridColumn headerText="Type" dataField="DocumentType"/>
>             <mx:DataGridColumn headerText="Status" dataField="Status"/>
>             <mx:DataGridColumn headerText="Plans" labelFunction="listPlans"/>
>             <mx:DataGridColumn headerText="Timeframe" dataField="Timeframe"/>
>       </mx:columns>
> </mx:DataGrid>
>
> Again, this worked in Beta 2 so I am have no idea why it doesn't now.
> I have not found anything in the change docs that seems to relate. In
> case it helps, calling ObjectUtil.toString(event.result.Metadata) in
> the result handler produces this output:
>
> (Array)#0
>   [0] (Array)#1
>     [0] (mx.rpc.xml::ComplexString)#2
>       value = "RPRDocumentHistory"
>     [1] (Object)#3
>       DocumentType = "RPR"
>       Plans = (Array)#4
>         [0] "78173"
>         [1] "78167"
>         [2] "78168"
>       Status = "InProgress"
>       Timeframe = "As of Last Month"
>     [2] (Object)#5
>       DocumentType = "RPR"
>       Plans = (Array)#6
>         [0] "78167"
>         [1] "78168"
>       Status = "Complete"
>       Timeframe = "As of Last Month"
>
> Thanks,
> Ben
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to