Call web service with operation defined
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:WebService id="survey" wsdl="http://server.com/Survey.php?wsdl"> <mx:operation name="getAverages" resultFormat="object" /> </mx:WebService> </mx:Application>