Example
The following example handles results returned from the web service method.
// Handles results returned from the use of a web service method.
myPendingCallObj = myWebService.methodName(params)
myPendingCallObj.onResult = function(result)
{
// Catches the result and handles it for this application.
ResultOutputField.text = result;
}
See also
PendingCall.response
PendingCall.request
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
rawXML = myPendingCallback.request;
Description
Property; contains the raw XML form of the current request sent with
myWebService.methodName()
PendingCall.request
that are sent over the network. To get the ActionScript version of the results of the request, use
myPendingCallback.onResult
PendingCall.response
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
. Normally, you would not have any use for
, but you can use it if you are interested in the SOAP communications
.
myPendingCallback =
PendingCall.response
1433
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers