Pacote | mx.rpc.soap.mxml |
Classe | public class Operation |
Herança | Operation Operation AbstractOperation AbstractInvoker EventDispatcher Object |
Implementações | IMXMLSupport |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
send()
method.
Propriedades públicas
Propriedade | Definido por | ||
---|---|---|---|
arguments : Object
The arguments to pass to the Operation when it is invoked. | AbstractOperation | ||
concurrency : String
The concurrency for this Operation. | Operation | ||
constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | ||
endpointURI : String
The location of the WebService for this Operation. | Operation | ||
forcePartArrays : Boolean
Determines whether or not a single or empty return value for an output
message part that is defined as an array should be returned as an array
containing one (or zero, respectively) elements. | Operation | ||
headerFormat : String
Determines how the SOAP encoded headers are decoded. | Operation | ||
headers : Array [somente leitura]
Accessor to an Array of SOAPHeaders that are to be sent on
each invocation of the operation. | Operation | ||
httpHeaders : Object
Custom HTTP headers to be sent to the SOAP endpoint. | Operation | ||
ignoreWhitespace : Boolean
Determines whether whitespace is ignored when processing XML for a SOAP
encoded request or response. | Operation | ||
lastResult : Object [somente leitura]
The result of the last invocation. | AbstractInvoker | ||
makeObjectsBindable : Boolean [substituir]
When this value is true, anonymous objects returned are forced to
bindable objects. | Operation | ||
multiplePartsFormat : String
Determines the type of the default result object for calls to web services
that define multiple parts in the output message. | Operation | ||
name : String
The name of this Operation. | AbstractOperation | ||
operationManager : Function
This property is set usually by framework code which wants to modify the
behavior of a service invocation without modifying the way in which the
service is called externally. | AbstractInvoker | ||
properties : Object
This is a hook primarily for framework developers to register additional user
specified properties for your operation. | AbstractOperation | ||
request : Object
The request of the Operation is an object structure or an XML structure. | Operation | ||
resultElementType : Class
Like resultType, used to define the ActionScript class used by a given operation though
this property only applies to operations which return a multi-valued result (e.g. | AbstractInvoker | ||
resultFormat : String
Determines how the Operation result is decoded. | Operation | ||
resultHeaders : Array [somente leitura]
The headers that were returned as part of the last execution of this
operation. | Operation | ||
resultType : Class
Specifies an optional return type for the operation. | AbstractInvoker | ||
service : AbstractService [somente leitura]
Provides convenient access to the service on which the Operation
is being invoked. | AbstractOperation | ||
showBusyCursor : Boolean
Whether this operation should show the busy cursor while it is executing. | Operation | ||
xmlSpecialCharsFilter : Function
Specifies a custom function used to escape XML special characters before
encoding any simple content. | Operation |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
Creates a new Operation. | Operation | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | 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 | ||
[substituir]
Cancels the last service invocation or an invokation with the specified ID. | Operation | ||
Clears the headers for this individual Operation. | Operation | ||
Sets the result property of the invoker to null. | AbstractInvoker | ||
Envia um evento para o fluxo de eventos. | EventDispatcher | ||
Returns a header if a match is found based on QName localName and URI. | Operation | ||
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Remove um ouvinte do objeto EventDispatcher. | EventDispatcher | ||
Removes the header with the given QName from all operations. | Operation | ||
Executes the method. | AbstractOperation | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
This hook is exposed to update the lastResult property. | AbstractInvoker | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna a representação de string do objeto especificado. | Object | ||
Retorna o valor primitivo do objeto especificado. | Object | ||
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher |
Eventos
Detalhes da propriedade
concurrency | propriedade |
concurrency:String
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
The concurrency for this Operation. If it has not been explicitly set the setting from the WebService will be used.
Implementação
public function get concurrency():String
public function set concurrency(value:String):void
showBusyCursor | propriedade |
showBusyCursor:Boolean
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Whether this operation should show the busy cursor while it is executing. If it has not been explicitly set the setting from the WebService will be used.
Implementação
public function get showBusyCursor():Boolean
public function set showBusyCursor(value:Boolean):void
Detalhes do construtor
Operation | () | Construtor |
public function Operation(webService:WebService = null, name:String = null)
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Creates a new Operation.
ParâmetroswebService:WebService (default = null ) — The web service upon which this Operation is invoked.
| |
name:String (default = null ) — The name of this Operation.
|
Detalhes do método
cancel | () | método |
override public function cancel(id:String = null):mx.rpc:AsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Flex 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Cancels the last service invocation or an invokation with the specified ID. Even though the network operation may still continue, no result or fault event is dispatched.
Parâmetros
id:String (default = null ) — The messageId of the invocation to cancel. Optional. If omitted, the
last service invocation is canceled.
|
mx.rpc:AsyncToken — The AsyncToken associated with the call that is cancelled or null if no call was cancelled.
|
Wed Jun 13 2018, 11:10 AM Z