Package | com.asfusion.mate.testing |
Class | public class MockWebService |
Inheritance | MockWebService mx.rpc.soap.mxml.WebService |
Default MXML Propertymethods
Property | Defined by | ||
---|---|---|---|
cache : Boolean = true | MockWebService | ||
delay : uint = 0
Number of seconds to take to return the result or fault after making the call.
| MockWebService | ||
methods : Array | MockWebService | ||
mockGenerator : Class
Class to instantiate that will generate the mock result.
| MockWebService |
Property | Defined by | ||
---|---|---|---|
methodsDictionary : Dictionary | MockWebService |
Method | Defined by | ||
---|---|---|---|
MockWebService(destination:String = null)
Contructor
| MockWebService | ||
getOperation(name:String):AbstractOperation
| MockWebService |
Method | Defined by | ||
---|---|---|---|
dispatchFault(event:FaultEvent):void
| MockWebService | ||
dispatchResult(event:ResultEvent):void
| MockWebService | ||
getMethod(name:String):MockMethod
| MockWebService |
cache | property |
public var cache:Boolean = true
delay | property |
public var delay:uint = 0
Number of seconds to take to return the result or fault after making the call. This helps making the illusion that the service is taking time to respond. Default is 0 (no delay).
methods | property |
methods:Array
[read-write]Implementation
public function get methods():Array
public function set methods(value:Array):void
methodsDictionary | property |
protected var methodsDictionary:Dictionary
mockGenerator | property |
public var mockGenerator:Class
Class to instantiate that will generate the mock result. This attribute needs to be supplied here or in the individual MockMethod tags.
MockWebService | () | constructor |
public function MockWebService(destination:String = null)
Contructor
Parametersdestination:String (default = null )
|
dispatchFault | () | method |
protected function dispatchFault(event:FaultEvent):void
Parameters
event:FaultEvent |
dispatchResult | () | method |
protected function dispatchResult(event:ResultEvent):void
Parameters
event:ResultEvent |
getMethod | () | method |
getOperation | () | method |
public override function getOperation(name:String):AbstractOperation
Parameters
name:String |
AbstractOperation |