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)
{
// catch the result and handle 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.
Usage
rawXML = myPendingCallback.response;
Description
Property; contains the raw XML form of the response to the most recent web service method call
sent with
myPendingCallback = myWebService.methodName()
any use for
PendingCall.response
communications that are sent over the network. To get the corresponding ActionScript version of
the results of the request, use
. Normally, you would not have any use for
, but you can use it if you are interested in the SOAP communications
.
, but you can use it if you are interested in the SOAP
myPendingCallback.onResult
. Normally, you would not have
.
Web service classes (Flash Professional only)
myPendingCallback =
853
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers