User Guide
854 Chapter 6: Components Dictionary
SOAPCall class (Flash Professional only)
ActionScript Class Name mx.services.SOAPCall
The SOAPCall class is part of the mx.services package and is an advanced class to be used with the
WebService class (see “WebService class (Flash Professional only)” on page 856). For an overview
of the classes in the mx.data.services package, see “Web service classes (Flash Professional only)”
on page 842.
The SOAPCall object is not constructed by you. Instead, when you call a method on a
WebService object, the WebService object returns a PendingCall object. To access the associated
SOAPCall object, use
myPendingCall.myCall.
When you create a new WebService object, it contains the methods that correspond to operations
in the WSDL URL you pass in. Behind the scenes, a SOAPCall object is created for each
operation in the WSDL as well. The SOAPCall object is the descriptor of the operation, and as
such contains all the information about that operation (how the XML should look on the
network, the operation style, and so on). It also provides control over certain behaviors. You can
get the SOAPCall object for a given operation by using the
WebService.getCall() function.
There is a single SOAPCall for each operation, shared by all active calls to that operation. Once
you have the SOAPCall object, you can customize the descriptor by doing the following:
• Turning on/off decoding of the XML response
• Turning on/off the delay of converting SOAP arrays into ActionScript objects
• Changing the concurrency configuration for a given operation
Property summary for the SOAPCall object
The following table lists the properties of the SOAPCall object.
SOAPCall.concurrency
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
SOAPCall.concurrency
Property Description
SOAPCall.concurrency The number of concurrent requests.
SOAPCall.doDecoding Turns the decoding of the XML response on or off.
SOAPCall.doLazyDecoding Turns “lazy decoding” (the delay of turning SOAP arrays into
ActionScript objects) on or off.