import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.soap.LoadEvent;
import mx.controls.Alert;
private function loadHandler(event:LoadEvent):void {
trace(event.wsdl.xml);
}
private function resultHandler(event:ResultEvent):void {
trace(event.result as String);
}
private function faultHandler(event:FaultEvent):void {
Alert.show(event.fault.faultString);
}
wsdl="http://server.com/service.php?WSDL"
load="loadHandler(event)"
result="resultHandler(event)"
fault="faultHandler(event)" />