1
[Bindable]public var xmlData:Object = new Object();
[Bindable]public var headingData:Object = new Object();
private function getHeadings(evt:ResultEvent):void{
//xmlData = ObjectUtil.toString(evt.result);
//ObjectUtil.toString(evt.result)
xmlData = evt.result;
headingData = xmlData.root.survey;
}
<mx:WebService id="srv"
wsdl="http://domainame/Service.asmx?WSDL">
<mx:operation name="GetClientDetails_ParameterDetails"
resultFormat="object"
result="getHeadings(event);"
/>
</mx:WebService>
我能夠解析簡單的XML並創建組件,但是當我調用webService時我無法做到。提取XML的方法名稱是相同的。解析Flex中的WebService URL
我在接收Flex中的XML時做錯了什麼。
http://livedocs.adobe.com/flex/3/html/help.html?content=13_Working_with_XML_03.html – ilikeorangutans 2010-04-26 18:59:28