[Bindable]
public var arrayCol:ArrayCollection;
public function Test():void
{
//*
var webs:WebService=new WebService();
webs.wsdl="http://localhost/Web/WebService1.asmx?WSDL";
webs.loadWSDL();
webs.showBusyCursor=true;
// webs.addEventListener(LoadEvent.LOAD,load);
webs.addEventListener(ResultEvent.RESULT,WebsResult);
webs.addEventListener(FaultEvent.FAULT,webFault);
webs.GetProData();
//*/
}
public function webFault(event:FaultEvent):void
{
Alert.show(event.toString());
}
public function WebsResult(Result:ResultEvent):void
{
arrayCol =Result.result as ArrayCollection;
}