Call method in WSDL file
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" > <mx:WebService id="statesService" wsdl="http://server.com/Service.php?wsdl"> <mx:operation name="getCountries" result="trace(statesService.getCountries.lastResult)" /> </mx:WebService> </mx:Application>