| Package | mx.rpc.soap |
| Class | public class AbstractWebService |
| Inheritance | AbstractWebService AbstractService Proxy Object |
| Subclasses | WebService |
| Property | Defined By | ||
|---|---|---|---|
![]() | channelSet : ChannelSet
Provides access to the ChannelSet used by the service.
| AbstractService | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| description : String
The description of the service for the currently active port.
| AbstractWebService | ||
| destination : String
The destination of the service.
| AbstractWebService | ||
| endpointURI : String
The location of the WebService.
| AbstractWebService | ||
| headers : Array
[read-only]
Returns the array of SOAPHeaders registered for the WebService.
| AbstractWebService | ||
| makeObjectsBindable : Boolean
When this value is true, anonymous objects returned are forced to
bindable objects.
| AbstractWebService | ||
![]() | operations : Object
The Operations array is usually only set by the MXML compiler if you create a service using an MXML tag.
| AbstractService | |
| port : String
Specifies the port within the WSDL document that this WebService should
use
| AbstractWebService | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| ready : Boolean
[read-only]
Specifies whether the WebService is ready to make requests.
| AbstractWebService | ||
![]() | requestTimeout : int
Provides access to the request timeout in seconds for sent messages.
| AbstractService | |
| rootURL : String
The URL that the WebService should use when computing relative URLs.
| AbstractWebService | ||
| service : String
Specifies the service within the WSDL document that this WebService
should use.
| AbstractWebService | ||
| useProxy : Boolean
Specifies whether to use the Flex proxy service.
| AbstractWebService | ||
| Method | Defined By | ||
|---|---|---|---|
|
Creates a new WebService.
| AbstractWebService | ||
|
Adds a header that will be applied to all operations of this web service.
| AbstractWebService | ||
|
addSimpleHeader(qnameLocal:String, qnameNamespace:String, headerName:String, headerValue:String):void
Add a header that will be applied to all operations of this WebService.
| AbstractWebService | ||
|
Clears the headers that applied to all operations.
| AbstractWebService | ||
![]() |
Disconnects the service's network connection and removes any pending
request responders.
| AbstractService | |
|
Returns a header if a match is found based on QName localName and URI.
| AbstractWebService | ||
![]() |
Returns an Operation of the given name.
| AbstractService | |
![]() |
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 | |
![]() |
Logs the user out of the destination.
| AbstractService | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
|
Removes the header with the given QName from all operations.
| AbstractWebService | ||
![]() |
Set the credentials for the destination accessed by the service.
| AbstractService | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
|
The username and password to authenticate a user when accessing
the webservice.
| AbstractWebService | ||
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| Constant | Defined By | ||
|---|---|---|---|
| DEFAULT_DESTINATION_HTTP : String = "DefaultHTTP" [static]
| AbstractWebService | ||
| DEFAULT_DESTINATION_HTTPS : String = "DefaultHTTPS" [static]
| AbstractWebService | ||
| description | property |
description:String [read-write] The description of the service for the currently active port.
public function get description():String
public function set description(value:String):void
| destination | property |
destination:String [read-write]
The destination of the service. This value should match a destination entry in the services-config.xml file.
public function get destination():String
public function set destination(value:String):void
| endpointURI | property |
endpointURI:String [read-write] The location of the WebService. Normally, the WSDL document specifies the location of the services, but you can set this property to override that location.
public function get endpointURI():String
public function set endpointURI(value:String):void
| headers | property |
headers:Array [read-only] Returns the array of SOAPHeaders registered for the WebService.
public function get headers():Array
| makeObjectsBindable | property |
makeObjectsBindable:Boolean [read-write] When this value is true, anonymous objects returned are forced to bindable objects.
public function get makeObjectsBindable():Boolean
public function set makeObjectsBindable(value:Boolean):void
| port | property |
port:String [read-write] Specifies the port within the WSDL document that this WebService should use
public function get port():String
public function set port(value:String):void
| ready | property |
ready:Boolean [read-only] Specifies whether the WebService is ready to make requests.
public function get ready():Boolean
| rootURL | property |
rootURL:String [read-write]
The URL that the WebService should use when computing relative URLs. This
property is only used when going through the proxy. When the
useProxy property is set to false the relative
URL is computed automatically based on the location of the SWF running
this application. If not set explicitly rootURL is
automatically set to the URL of mx.messaging.config.LoaderConfig.url.
public function get rootURL():String
public function set rootURL(value:String):void
| service | property |
service:String [read-write] Specifies the service within the WSDL document that this WebService should use.
public function get service():String
public function set service(value:String):void
| useProxy | property |
useProxy:Boolean [read-write]
Specifies whether to use the Flex proxy service. The default value is
false. If you do not specify true to proxy
requests though the Flex server, you must ensure that Flash Player can
reach the target URL. You also cannot use destinations defined in the
services-config.xml file if the useProxy property is set
to false.
The default value is false.
public function get useProxy():Boolean
public function set useProxy(value:Boolean):void
| AbstractWebService | () | Constructor |
public function AbstractWebService(destination:String = null, rootURL:String = null)
Creates a new WebService. The destination, if specified, should match an
entry in services-config.xml. If unspecified, the WebService uses the
DefaultHTTP destination. The rootURL is required if you
intend to use a relative URL find the WSDL document for this WebService.
destination:String (default = null) |
|
rootURL:String (default = null) |
| addHeader | () | method |
public function addHeader(header:SOAPHeader):void
Adds a header that will be applied to all operations of this web service.
Parameters
header:SOAPHeader — Actual header.
|
| addSimpleHeader | () | method |
public function addSimpleHeader(qnameLocal:String, qnameNamespace:String, headerName:String, headerValue:String):void
Add a header that will be applied to all operations of this WebService.
Parameters
qnameLocal:String — the localname for the header QName
|
|
qnameNamespace:String — the namespace for header QName
|
|
headerName:String — the name of the header
|
|
headerValue:String — the value of the header
|
| clearHeaders | () | method |
public function clearHeaders():void
Clears the headers that applied to all operations.
| getHeader | () | method |
public function getHeader(qname:QName, headerName:String = null):SOAPHeader
Returns a header if a match is found based on QName localName and URI.
Parameters
qname: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):void
Removes the header with the given QName from all operations.
Parameters
qname:QName — QName of the SOAPHeader.
|
|
headerName:String (default = null) — Name of a header in the SOAPHeader content (Optional)
|
| setRemoteCredentials | () | method |
public override function setRemoteCredentials(remoteUsername:String, remotePassword:String):void
The username and password to authenticate a user when accessing the webservice. These will be passed as part of the HTTP Authorization header from the proxy to the endpoint. If useProxy is false this property will be ignored.
Parameters
remoteUsername:String — the username to pass to the remote endpoint
|
|
remotePassword:String — the password to pass to the remote endpoint
|
| DEFAULT_DESTINATION_HTTP | Constant |
public static const DEFAULT_DESTINATION_HTTP:String = "DefaultHTTP"
| DEFAULT_DESTINATION_HTTPS | Constant |
public static const DEFAULT_DESTINATION_HTTPS:String = "DefaultHTTPS"
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/mx/rpc/soap/AbstractWebService.html