com.blocketpc.components.WebServiceLight

Component to load a WebService in a light way.  Use this light class in replace of the WebService AS2 component.  This class dispatchs two events ON_LOAD and ON_ERROR.

Version

0.4.0

Author

Raul Jimenez

See Also

GDispatcher

Variables

dispatchEvent

private var dispatchEvent: Function

addEventListener

public var addEventListener: Function

removeEventListener

public var removeEventListener: Function

removeAllEventListeners

public var removeAllEventListeners: Function

data_xml

private var data_xml: XML

ON_LOAD

public static var ON_LOAD: String

ON_ERROR

public static var ON_ERROR: String

Functions

WebServiceLight

public function WebServiceLight()

Constructor

loadWDSL

public function loadWDSL(url: String,
header: String):Void

Loads the WebService.

Parameters

url: URL of the WebService to call.
header: Header of the WebService as an XML in String. 

onLoadWDSL

private function onLoadWDSL(success: Boolean):Void
private var dispatchEvent: Function
public var addEventListener: Function
public var removeEventListener: Function
public var removeAllEventListeners: Function
private var data_xml: XML
public static var ON_LOAD: String
public static var ON_ERROR: String
public function WebServiceLight()
Constructor
public function loadWDSL(url: String,
header: String):Void
Loads the WebService.
private function onLoadWDSL(success: Boolean):Void
GDispatcher Beta 1 by Grant Skinner, http://gskinner.com/ No documentation is provided with this beta release.