Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Web service classes > SOAPCall class | |||
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). For an overview of the classes in the mx.data.services package, see Web service classes.
|
NOTE |
|
The SOAPCall class is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
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:
The following table lists the properties of the SOAPCall object.
|
Property |
Description |
|---|---|
|
The number of concurrent requests. |
|
|
Turns the decoding of the XML response on or off. |
|
|
Turns "lazy decoding" (the delay of turning SOAP arrays into ActionScript objects) on or off. |
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00003719.html