Specifications

Static Functions
Initiates a remote procedure call (RPC) or sends an XML
message to a SOAP HTTP endpoint, waits for the endpoint to
reply (synchronous processing) and returns its response.
request( url : String,
request-object : request-object,
action : String ) : response-object
An exception is thrown if the request object does not
conform, when the SOAP endpoint returns a SOAPFault or
when there is a failure from the underlying HTTP transport
layer.
Initiates a remote procedure call (RPC) or sends an XML
message to a SOAP HTTP endpoint without waiting for a reply.
send ( url : String, request-object
: request-object, action : String
)
An exception is thrown if the request object does not conform
or when there is a failure from the underlying HTTP transport
layer.
Constructing
Constructs a new empty SOAP request.
SOAP ( )
Constructs a new SOAP request and sets the SOAP body
SOAP ( request-object : request-object
)
Constructs a new SOAP request and reads the SOAP
envelope from the specified XML file.
SOAP ( in-path : String )
Property accessing
Returns whether the SOAP message is a SOAP response.
isResponse ( ) : Boolean
Returns the SOAP body from the SOAP message.
getBody ( ) response-object
Sets the SOAP body to the SOAP request. The body is
replaced with the new body and the headers are
preserved.
setBody ( request-object :
request-object )
Returns the SOAP header from the SOAP message.
getHeader ( ) : header-object
Sets the SOAP header to the SOAP request. The body is
associated with the new header and the body itself is
preserved.
setHeader ( header-object :
header-object )
Sending messages
Initiates a remote procedure call (RPC) or sends an XML message
to a SOAP HTTP endpoint, waits for the endpoint to reply
(synchronous processing) and returns its response.
requestMessage ( url :
String, action : String ) :
SOAP
433
Enfocus Switch 10