User Guide

WebService.getCall() 1443
Handling the PendingCall object This callback object is a PendingCall object that you use
for handling the results and errors from the web service method that was called (see
“PendingCall class (Flash Professional only)” on page 1423). Here is an example:
MyPendingCallObject = myWebServiceObject.myMethodName(param1, ..., paramN);
MyPendingCallObject.onResult = function(result)
{
OutputField.text = result
}
MyPendingCallObject.onFault = function(fault)
{
DebugField.text = fault.faultCode + "," + fault.faultstring;
// Add code to handle any faults, for example, by telling the
// user that the server isn’t available or to contact technical
// support.
}
WebService.getCall()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
getCall(var operationName)
Parameters
operationName The web service operation of the corresponding SOAPCall object that you
want to retrieve.
Returns
A SOAPCall object.