since ‎31-07-2008
‎10-12-2019
whertzing
Level 1
Re: Problem consuming XML data from .Net 2.0 Web Service
Avatar

whertzing

whertzing
- Adobe LiveCycle
Still have not fiugred this out. Hope somebody can help. Ibelive my problem must be in parsing the XML data returned. Ineedto get the Period array (and EE subarray of each Period. I'mwondering if I need to do something with namespaces to access thesenodes within the XML?When I specify my webserverice result as "E4X", I have trieda bunch of things to drill down to the data:private functionUsp_NumErrors_ByPeriod_ForXML_ResultHandler(event:ResultEvent):void { var x1:XML = event.result[0]; var x2:XM...

Views

72

Likes

0

Replies

0
Re: Extracting Data from Nested XML Elements into Flex
Avatar

whertzing

whertzing
- Adobe LiveCycle
Hmm.. I'm a newbie too, but looking at your XML, it seems the has no direct data, instead it has twochild nodes first_name and last_name. Seems you should calling afunction that accepts an object, passing it the object, and in that function concatenatingthe children data. Check out the help section "Using item renderers with theAdvancedDataGrid control", create and assign a renderer for your column, and concatenate the two name fieldsinside of the renderer function.Again, I'm a newbie myself, an...

Views

103

Likes

0

Replies

0
Problem consuming XML data from .Net 2.0 Web Service
Avatar

whertzing

whertzing
- Adobe LiveCycle
I've tried a ton of variations, I must be missing somethingsimple Hope a guru out there can help...Apologies on the size and formatting - I couldn't find the"Attach Code" button or link on the Post editing form. This is myfirst post here.I've a SQL Server 2005 stored procedure that returns the dataI need using "For XML Explicit". I can copy that result (example atbottom), stick it into a file "numErrors.xml", access it from FLEXas:private functionUsp_NumErrors_ByPeriod_ForXML_clickHandler():void { srv.send(); }private functionUsp_NumErrors_ByPeriod_ForXML_ResultHandler(event:ResultEvent):void { periodData = event.result.list.Period.source as Array; }The debugger shows the event.result in the ResultHandler is aProx...

Views

323

Likes

0

Replies

1