
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
96
SOAPFault.faultactor
mySOAPFault.faultactor
A string indicating the source of the fault. This property is optional if an intermediary is not involved.
Availability
Flash Media Server 2
SOAPFault.faultcode
mySOAPFault.faultcode
A string indicating the short, standard qualified name describing the error.
Availability
Flash Media Server 2
SOAPFault.faultstring
mySOAPFault.faultstring
A string indicating the human-readable description of the error.
Availability
Flash Media Server 2
Example
The following example shows the fault code in a text field if the WSDL fails to load:
// Load the WebServices class:
load("webservices/WebServices.asc");
// Prepare the WSDL location:
var wsdlURI = "http://www.flash-db.com/services/ws/companyInfo.wsdl";
// Instantiate the web service object by using the WSDL location:
stockService = new WebService(wsdlURI);
// Handle the WSDL parsing and web service instantiation event:
stockService.onLoad = function(wsdl){
wsdlField.text = wsdl;
}
// If the wsdl fails to load, the onFault event is fired:
stockService.onFault = function(fault){
wsdlField.text = fault.faultstring;
}
Stream class
The Stream class lets you manage or republish streams in a Flash Media Server application. You can’t attach audio or
video sources to a Stream object; you can only play and manage existing streams. Use the Stream class to shuffle
existing streams in a playlist, pull streams from other servers, control access to streams, and record data streams such
as log files.
Commenti su questo manuale