Specifications

Returns the item in the list at the specified (zero-based)
index. If the index is out of range, the function returns
null.
getItem( index : Number ) : Node or
Attr
This is a read-only property (rather than a function) that
contains the value returned by getCount().
length : Number
Returns the same value as getItem(index).
at( index : Number ) : Node or Attr
18.5 Network module
SOAP class
Background
The SOAP communication protocol and the Web Services framework provide a standard mechanism
to communicate between applications and more precisely to request the execution of a particular
service in a different application (a “remote procedure call”). The communicating applications
may be running on the same computer, on computers in the same local network or on remote
computers across the Internet.
For more information see http://www.w3.org/TR/SOAP/.
Overview
The SOAP class supports a subset of the SOAP 1.1 communication protocol over HTTP. Specifically,
it allows remote procedure calls to be made to a remote server. The SOAP protocol is used to
marshall JavaScript parameters to a remote procedure call and to unmarshall the result as a
JavaScript object.
The current implementation has the following restrictions:
Supports only SOAP 1.1 (and not 1.2).
Supports only synchronous processing (and not asynchronous).
Supports DIME and MIME attachments in the SOAP message
Always uses SOAP encoding style (as defined in the specification section 5).
Class instances
The send and request methods - which were already available in older Switch versions – are
static functions which allow sending of a simple SOAP message without headers. As they are
static functions, there is no need to create instances of the SOAP class.
For more direct control an instance of the SOAP class may be created. This represents an entire
SOAP request and/or response message including body, headers and envelope.
432
Enfocus Switch 10