Hierarchy of objects in a SOAP message

At the top of the hierarchy is the SOAP message. The SOAP message contains a SOAP part and an attachment part.

The SOAP part contains a SOAP envelope. The attachment part contains mime headers, which contains a mime header that points to an attachment.

The SOAP envelope contains a SOAP header and a SOAP body.

The SOAP header contains a SOAP header element. The SOAP body contains either a SOAP body element or a SOAP Fault.

The SOAP Fault contains a detail element which contains a detail entry element.