MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 847

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Description
Function; gets an additional output parameter of the SOAPParameter object, which contains the
value and the XML element. SOAP RPC calls may return multiple output parameters. The first
(or only) return value is always delivered in the
function, but to get access to the other return values, you must use functions such as
getOutputParameter()
returns the nth output parameter as a SOAPParameter object.
Example
Given the SOAP descriptor file below,
object with
value="Hi there!"
...
<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>
...
See also
PendingCall.getOutputParameterByName()
PendingCall.getOutputValue()
PendingCall.getOutputParameterByName()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myPendingCall.getOutputParameterByName(var localName)
Parameters
The local name of the parameter. In other words, the name of an XML element,
localName
stripped of any namespace information. For example, the local name of both of the following
elements is
:
bob
<bob abc="123">
<xsd:bob def="ghi">
Returns
A SOAPParameter object with two properties:
and
(the output parameter's XML value).
element
and
getOutputValue()
getOutputParameter(1)
and
element=the <outParam2> XMLNode
,
PendingCall.getOutputValues()
value
parameter of the
result
. The
getOutputParameter()
would return a SOAPParameter
,
PendingCall.getOutputParameters()
(the output parameter's ActionScript value)
Web service classes (Flash Professional only)
callback
onResult
function
.
,
847

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Flash mx

Table of Contents