User Guide

Web service classes (Flash Professional only) 849
Description
Function; gets additional output parameters of the SOAPParameter object, which contains the
values and the XML elements. SOAP RPC calls may return multiple output parameters. The first
(or only) return value is always delivered in the
result parameter of the onResult callback
function, but to get access to the other return values, you must use functions such as
getOutputParameters() and getOutputValues().
See also
PendingCall.getOutputParameterByName()
, PendingCall.getOutputParameter(),
PendingCall.getOutputValue(), PendingCall.getOutputValues()
PendingCall.getOutputValue()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myPendingCall.getOutputValue(var index)
Parameters
index
The index of an output parameter. The first parameter is index 0.
Returns
The nth output parameter.
Description
Function; gets the decoded ActionScript value of an individual output parameter. SOAP RPC
calls may return multiple output parameters. The first (or only) return value is always delivered in
the
result parameter of the onResult callback function, but to get access to the other return
values, you must use functions such as
getOutputValue() and getOutputParameter(). The
getOutputValue() function returns the nth output parameter.
Example
Given the SOAP descriptor file below, getOutputValue(2) would return true.
...
<SOAP:Body>
<rpcResponse>
<outParam1 xsi:type="xsd:int">54</outParam1>
<outParam2 xsi:type="xsd:string">Hi there!</outParam2>
<outParam3 xsi:type="xsd:boolean">true</outParam3>
</rpcResponse>
</SOAP:Body>
...