Constructor for the WebService class
Availability
Flash Media Server 2.
Usage
new WebService(wsdlURI)
Parameters
A string specifying the URL of a WSDL URL.
wsdlURL
Returns
A WebService object.
Description
Constructor; creates a new WebService object. You must use the constructor to create a
WebService object before you call any of the WebService class methods.
Example
The following example prepares the WSDL location and passes it to the WebService
constructor to create a new WebService object,
:
stockService
var wsdlURI = "http://www.flash-db.com/services/ws/companyInfo.wsdl";
stockService = new WebService(wsdlURI);
WebService.onFault
Availability
Flash Media Server 2.
Usage
myWS.onFault(fault){}
Parameters
An object version of an XML SOAP fault (see
"SOAPFault class" on page
142).
fault
Returns
Description
Event handler; called when an error occurs during WSDL parsing. The web services features
convert parsing and network problems into SOAP faults for simple handling.
164
Server-Side ActionScript Language Reference
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?