User Guide

1424 Web service classes (Flash Professional only)
The PendingCall object also gives you access to multiple output parameters when the web
service method returns more than one result. The “return value” referred to in this API is
simply the first (or only) result; to gain access to all of the results, you can use the “get output”
functions. For example, if the return value delivered to you in the parameter to the
onResult
callback is not the only result you want to access, you can use
getOutputValues() (which
returns an array) or
getOutputValue() (which returns an individual value) to get the
ActionScript decoded values.
You can also access the SOAPParameter object directly. The SOAPParameter object is an
ActionScript object with two properties:
value (the output parameter’s ActionScript value)
and
element (the output parameter’s XML value). The following functions return a
SOAPParameter object, or an array of SOAPParameter objects:
getOutputParameters(),
getOutputParameterByName(), and getOutputParameter().
Method summary for the PendingCall class
The following table lists methods of the PendingCall class.
Property summary for the PendingCall object
The following table lists properties of the PendingCall class.
Method Description
PendingCall.getOutputParameter() Retrieves a SOAPParameter object by index.
PendingCall.getOutputParameterByName() Retrieves a SOAPParameter object by name.
PendingCall.getOutputParameters() Retrieves an array of SOAPParameter objects.
PendingCall.getOutputValue() Retrieves the output value according to the
specified index.
PendingCall.getOutputValues() Retrieves an array of all the output values.
Property Description
PendingCall.myCall The SOAPCall operation descriptor for the
PendingCall operation.
PendingCall.request The SOAP request in raw XML format.
PendingCall.response The SOAP response in raw XML format.