SOAPHeaderBlock
This object is available to unprivileged JavaScript. It implements the following interfaces:
Properties
AString actorURI
The actor URI of the header block. If element is set, then this is a computed value. If this is modified, then element is set to null and all attributes computed from element revert to previous uncomputed values.
Element element
The element which is the encoded value of this block. If this is set, value, namespaceURI, and name becomes a computed attributes which are produced by decoding this element.
SOAPEncoding encoding
The encoding that was / will be applied to the block. If this is blank and element is non-null, it becomes impossible to decode the block when the value is requested.
boolean mustUnderstand
Flags that the processor must understand this header. If element is set, then this is a computed value. If this is modified, then element is set to null and all attributes computed from element revert to previous uncomputed values.
AString name
The name of the block. If the block is left unnamed, it
will be encoded using the element types defined in the SOAP-ENC
schema. For example, <SOAP-ENC:int>45</SOAP-ENC:int>
. If this is modified, element is set to null and all
attributes computed from element revert to previous uncomputed
values. If element is set, this becomes computed.
AString namespaceURI
The namespace URI of the block. Ignored if name is null. If this is modified, element is set to null and all attributes computed from element revert to previous uncomputed values. If element is set, this becomes computed.
nsISchemaType schemaType
The schema type used to encode or decode the block. If this is null, then the default encoder or decoder may
nsIVariant value
The native value which is the decoded value of this block. If this is modified, element is set to null and all attributes computed from element revert to previous uncomputed values. If element is set, this becomes computed, relying on the value of encoding and schemaType each time it is computed.
Methods
void init ( nsISOAPAttachments attachments , short version )
void init ( nsISOAPAttachments attachments , short version )
Initialize the block for additional decoding information.
- Arguments:
- attachments: Attachments in case this refers to them.
- version: SOAP version for decoding special header attributes.
Reference documentation is generated from Mozilla's source.