Call service with WebService
<?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('result returned')" /> </mx:WebService> </mx:Application>