| Package | mx.rpc.soap |
| Class | public class Operation |
| Inheritance | Operation AbstractOperation AbstractInvoker EventDispatcher Object |
| Subclasses | Operation |
send() method.
| Property | Defined by | ||
|---|---|---|---|
![]() | arguments : Object
The arguments to pass to the Operation when it is invoked.
| AbstractOperation | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| endpointURI : String
The location of the WebService for this Operation.
| Operation | ||
| headers : Array
[read-only]
Accessor to an Array of SOAPHeaders that are to be sent on
each invocation of the operation.
| Operation | ||
![]() | lastResult : Object
The result of the last invocation.
| AbstractInvoker | |
| makeObjectsBindable : Boolean
When this value is true, anonymous objects returned are forced to bindable objects.
| Operation | ||
![]() | name : String
The name of this Operation.
| AbstractOperation | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| request : Object
The request of the Operation is an object structure or an XML structure.
| Operation | ||
| resultFormat : String
Determines how the Operation result is decoded.
| Operation | ||
| resultHeaders : Array
[read-only]
The headers that were returned as part of the last execution of this operation.
| Operation | ||
![]() | service : AbstractService
Provides convenient access to the service on which the Operation
is being invoked.
| AbstractOperation | |
| targetNamespace : String | Operation | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new Operation.
| Operation | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event.
| EventDispatcher | |
|
Adds a header that is applied only to this Operation.
| Operation | ||
|
addSimpleHeader(qnameLocal:String, qnameNamespace:String, headerName:String, headerValue:String):void
Adds a header that is applied only to this Operation.
| Operation | ||
![]() |
Cancels the last service invocation.
| AbstractInvoker | |
|
Clears the headers for this individual Operation.
| Operation | ||
![]() |
Sets the
result property of the invoker to null. | AbstractInvoker | |
![]() |
Dispatches an event into the event flow.
| EventDispatcher | |
|
Returns a header if a match is found based on QName localName and URI.
| Operation | ||
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event.
| EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Removes a listener from the EventDispatcher object.
| EventDispatcher | |
|
Removes the header with the given QName from all operations.
| Operation | ||
![]() |
Executes the method.
| AbstractOperation | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type.
| EventDispatcher | |
| Method | Defined by | ||
|---|---|---|---|
|
createFaultEvent(faultCode:String = null, faultString:String = null, faultDetail:String = null):FaultEvent
| Operation | ||
| endpointURI | property |
endpointURI:String [read-write]The location of the WebService for this Operation. Normally, the WSDL specifies the location of the services, but you can set this property to override that location for the individual Operation.
Implementation public function get endpointURI():String
public function set endpointURI(value:String):void
| headers | property |
headers:Array [read-only]Accessor to an Array of SOAPHeaders that are to be sent on each invocation of the operation.
Implementation public function get headers():Array
| makeObjectsBindable | property |
makeObjectsBindable:Boolean [read-write]When this value is true, anonymous objects returned are forced to bindable objects.
Implementation public function get makeObjectsBindable():Boolean
public function set makeObjectsBindable(value:Boolean):void
| request | property |
request:Object [read-write]The request of the Operation is an object structure or an XML structure. If you specify XML, the XML is sent as is. If you pass an object, it is encoded into a SOAP XML structure.
Implementation public function get request():Object
public function set request(value:Object):void
| resultFormat | property |
resultFormat:String [read-write]
Determines how the Operation result is decoded. A value of object specifies
that the XML will be decoded into an object structure as specified in the WSDL document.
A value of xml specifies that the XML will be left as XMLNodes. A value of
e4x specifies that the XML will be accessible using EcmaScript for XML (E4X)
expressions.
public function get resultFormat():String
public function set resultFormat(value:String):void
| resultHeaders | property |
resultHeaders:Array [read-only]
The headers that were returned as part of the last execution of this operation. They match up with the
result property and are the same as the collection of headers that are dispatched individually
as HeaderEvents.
This property can be used as the source for data binding.
Implementation public function get resultHeaders():Array
| targetNamespace | property |
public var targetNamespace:String
| Operation | () | constructor |
public function Operation(webService:AbstractService = null, name:String = null)Creates a new Operation. This is usually done directly by the MXML compiler or automatically by the WebService when an unknown operation has been accessed. It is not recommended that a developer use this constructor directly.
ParameterswebService:AbstractService (default = null) |
|
name:String (default = null) |
| addHeader | () | method |
public function addHeader(header:SOAPHeader):voidAdds a header that is applied only to this Operation.
Parametersheader:SOAPHeader — The actual header.
|
| addSimpleHeader | () | method |
public function addSimpleHeader(qnameLocal:String, qnameNamespace:String, headerName:String, headerValue:String):voidAdds a header that is applied only to this Operation.
ParametersqnameLocal:String — the localname for the header QName
|
|
qnameNamespace:String — the namespace for header QName
|
|
headerName:String — Name of the header.
|
|
headerValue:String — Value of the header.
|
| clearHeaders | () | method |
public function clearHeaders():voidClears the headers for this individual Operation.
| createFaultEvent | () | method |
protected function createFaultEvent(faultCode:String = null, faultString:String = null, faultDetail:String = null):FaultEventParameters
faultCode:String (default = null) |
|
faultString:String (default = null) |
|
faultDetail:String (default = null) |
FaultEvent |
| getHeader | () | method |
public function getHeader(qname:QName, headerName:String = null):SOAPHeaderReturns a header if a match is found based on QName localName and URI.
Parametersqname:QName — QName of the SOAPHeader.
|
|
headerName:String (default = null) — Name of a header in the SOAPHeader content (Optional)
|
SOAPHeader |
| removeHeader | () | method |
public function removeHeader(qname:QName, headerName:String = null):voidRemoves the header with the given QName from all operations.
Parametersqname:QName — QName of the SOAPHeader.
|
|
headerName:String (default = null) — Name of a header in the SOAPHeader content (Optional)
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/mx/rpc/soap/Operation.html