Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
An ISOAPEncoder is used to create SOAP 1.1 formatted requests for a web
service operation. A WSDLOperation provides the definition of how a SOAP
request should be formatted and therefore must be set before a call is made to
encode().
ignoreWhitespace:Boolean
Language Version: | ActionScript 3.0 |
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:WSDLOperation
Language Version: | ActionScript 3.0 |
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
public function encodeRequest(args:* = null, headers:Array = null):XML
Language Version: | ActionScript 3.0 |
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 )
|
Returns
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00