Package | mx.rpc.soap |
Interface | public interface ISOAPEncoder extends IXMLEncoder |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Property | Defined By | ||
---|---|---|---|
ignoreWhitespace : Boolean
Determines whether the encoder should ignore whitespace when
constructing an XML representation of a SOAP request. | ISOAPEncoder | ||
strictNillability : Boolean
When strictNillability is set to true, null values
are encoded according to XML Schema rules (requires nillable=true
to be set in the definition). | IXMLEncoder | ||
wsdlOperation : WSDLOperation
A WSDLOperation defines the SOAP binding styles and specifies how to
encode a SOAP request. | ISOAPEncoder | ||
xmlSpecialCharsFilter : Function
The function to be used to escape XML special characters before encoding
any simple content. | IXMLEncoder |
Method | Defined By | ||
---|---|---|---|
Encodes an ActionScript value as XML. | IXMLEncoder | ||
Creates a SOAP-encoded request to an operation from the given input
parameters and headers. | ISOAPEncoder | ||
Resets the encoder to its initial state, including resetting any
Schema scope to the top level. | IXMLEncoder |
ignoreWhitespace | property |
ignoreWhitespace:Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Determines whether the encoder should ignore whitespace when
constructing an XML representation of a SOAP request.
The default should be true
and thus whitespace not preserved.
If an XML Schema type definition specifies a whiteSpace
restriction set to preserve
then ignoreWhitespace must
first be set to false. Conversely, if a type whiteSpace
restriction is set to replace
or collapse
then
that setting will be honored even if ignoreWhitespace is set to false
.
Implementation
public function get ignoreWhitespace():Boolean
public function set ignoreWhitespace(value:Boolean):void
wsdlOperation | property |
wsdlOperation:WSDLOperation
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
A WSDLOperation defines the SOAP binding styles and specifies how to encode a SOAP request.
Implementation
public function get wsdlOperation():WSDLOperation
public function set wsdlOperation(value:WSDLOperation):void
encodeRequest | () | method |
public function encodeRequest(args:* = null, headers:Array = null):XML
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Creates a SOAP-encoded request to an operation from the given input parameters and headers.
Parameters
args:* (default = null )
| |
headers:Array (default = null )
|
XML |
Fri Mar 19 2010, 02:45 AM -07:00