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