12.3.4 Example of WS-Security

Here we provide some examples of SOAP messages with WS-Security. Using WS-Security, authentication mechanism, integrity and confidentiality can be applied in the message level. In WebSphere V6.0, there are many options to apply these security mechanisms. In this section, the most typical scenarios of each mechanism are shown as an introduction.

As an overview, Figure 12-6 shows the elements Web service security elements which are added to the SOAP message.

Figure 12-6 SOAP message security with WS-Security

Applying WS-Security, the SOAP security header will be inserted under the SOAP envelope.