The Header element is optional and contains header information. A Header element contains header blocks, which contain a logical set of information. The information can include application-specific details, such as authentication and mode of payment. A SOAP message can have only one Header element, but many header blocks.
The Header element must be the first child element of the Envelope element. In addition, all child elements of the Header element must be namespace-qualified.
In the code example, Trans is a child element of the Header element that specifies the definition of the Trans element. The path as displayed in the code example is the namespaceURI.
|