This content has been marked as final. Show 4 replies
Doing work directly in the result handler is difficult to debug. Instead, call a resultHandler function as in the example code below. Also, while I am seein the wether dta xml, i am having trouble referencing the nodes uing the e4x expressions. I suspect there are namespace issues. I'll keep working for a whil and post if can figure it out.
<mx:WebService ...result="onResult(event)" />
[Bindable]private var _xmlResult:XML;
private function onResult(oEvent:ResultEvent):void
_xmlResult = XML(oEvent.result);
outputInfo.text = _xmlResult.toXMLString()
Definitely namespace problems. I can navigate the xml just fine using children()[n], but not using the node names.
I have to quit this one for now.
Thanks for taking the time to look at this.
If you figure out the namespace thing, please post the solution here.