ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.rpc.wsdl 

WSDLBinding  - AS3 Flex

Packagemx.rpc.wsdl
Classpublic class WSDLBinding
InheritanceWSDLBinding Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

A binding defines the message format and protocol for messages sent to and from operations as defined by a particular portType.

Currently only SOAP binding is supported for WSDL.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  name : String
[read-only] The unique name of this binding.
WSDLBinding
  portType : mx.rpc.wsdl:WSDLPortType
The portType for this binding which provides the interface definitions for the operations of this binding.
WSDLBinding
  style : String
Represents a SOAP binding style attribute which is the default for any operation defined under this binding.
WSDLBinding
  transport : String
Represents a SOAP binding transport attribute which indicates the URI of the transport used to send SOAP encoded messages.
WSDLBinding
Public Methods
 MethodDefined By
  
Creates a new WSDLBinding.
WSDLBinding
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

name

property
name:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The unique name of this binding.



Implementation
    public function get name():String

portType

property 
portType:mx.rpc.wsdl:WSDLPortType

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The portType for this binding which provides the interface definitions for the operations of this binding.



Implementation
    public function get portType():mx.rpc.wsdl:WSDLPortType
    public function set portType(value:mx.rpc.wsdl:WSDLPortType):void

style

property 
style:String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Represents a SOAP binding style attribute which is the default for any operation defined under this binding. The style indicates whether an operation is RPC-oriented (messages containing parameters and return values) or document-oriented (message containing document(s)).

The default is document.



Implementation
    public function get style():String
    public function set style(value:String):void

transport

property 
transport:String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Represents a SOAP binding transport attribute which indicates the URI of the transport used to send SOAP encoded messages. The default URI is http://schemas.xmlsoap.org/soap/http/ which signifies SOAP over HTTP (and is currently the only transport supported).



Implementation
    public function get transport():String
    public function set transport(value:String):void
Constructor Detail

WSDLBinding

()Constructor
public function WSDLBinding(name:String)

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Creates a new WSDLBinding. Currently, only SOAP binding is supported for WSDL.

Parameters
name:String — The unique name of this binding.