Call WSDL service
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="initializeHandler(event)"> <mx:Script> private function initializeHandler(event:Event):void { statesService.getCountries.send( ); } </mx:Script> <mx:WebService id="statesService" wsdl="http://server.com/StatesService.php?wsdl"> <mx:operation name="getCountries" /> </mx:WebService> <mx:VBox> <mx:ComboBox id="country" dataProvider="{statesService.getCountries.lastResult}" /> </mx:VBox> </mx:Application>