2. SOAP Encryption (SOAP-ENC).
SSL is useful for ensuring confidentiality. However, there
are at least two problems in the context of SOAP messaging.
By definition, SOAP messaging can include intermediaries,
and any of them could be owned by organizations other than
the service requester or the service provider. The first problem
is that any of these third parties may need to read the message.
Inherently, transport-level security solutions like SSL assume
that communication occurs only directly between two parties.
The second problem is that SSL encrypts the whole message.
In some cases, users may want to encrypt only parts of the
message. SOAP Encryption can resolve these.