Java Reference
In-Depth Information
TheSOAPdocumentconsistsofan
Envelope
rootelementthatencapsulatesanop-
Figure 11-9.
A SOAP message's architecture consists of an optional
Header
element and a man-
datory
Body
element within an
Envelope
element.
The
Header
element specifies application-related information (such as authentica-
tion details to verify who sent the message) via immediate child elements known as
header blocks
. A header block represents a logical grouping of data that can target an
intermediate SOAP node or the ultimate receiver node.
Althoughheaderblocksaredefinedbytheapplication,theirstarttagsmaycontainthe
following SOAP-defined attributes to indicate how SOAP nodes should process them: