Availability

Flash Media Server 2

The SOAPCall class is the object type that is returned from all web service calls. These objects are typically constructed automatically when a Web Service Definition Language (WSDL) is parsed and a stub is generated.

Property summary

Property

Description

SOAPCall.request

An XML object that represents the current SOAP (Simple Object Access Protocol) request.

SOAPCall.response

An XML object that represents the most recent SOAP response.

Event handler summary

Event handler

Description

SOAPCall.onFault()

Invoked when a method has failed and returned an error.

SOAPCall.onResult()

Invoked when a method has successfully invoked and returned.

SOAPCall.onFault()

 SOAPCall.onFault(fault)

Invoked when a method has failed and returned an error.

Availability

Flash Media Server 2

Parameters

fault

The fault parameter is an object version of an XML SOAP Fault (see SOAPCall class).

SOAPCall.onResult()

 mySOAPCall.onResult(result){}

Invoked when a method has been successfully invoked and returned.

Availability

Flash Media Server 2

Parameters

result

The decoded ActionScript object returned by the operation (if any). To get the raw XML returned instead of the decoded result, access the SOAPCall.response property.

SOAPCall.request

 mySOAPCall.request

An XML object that represents the current Simple Object Access Protocol (SOAP) request.

Availability

Flash Media Server 2

SOAPCall.response

 mySOAPCall.response

An XML object that represents the most recent SOAP response.

Availability

Flash Media Server 2

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy