You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Nencho Lupanov <ne...@googlemail.com> on 2007/04/12 08:50:17 UTC

[axis2] policy assertion EncryptedElements problems

Hi all,

I am testing the rampart policy sample03 , that you may find attached here.
The only change i made was to replace the "EncryptedParts" with
"EncryptedElements" or
in other words i changed this:


<sp:EncryptedParts xmlns:sp="
http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
 <sp:Body/>
</sp:EncryptedParts>

with this:

<sp:EncryptedElements xmlns:sp="
http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
 /sp:Envelope/sp:Body
</sp:EncryptedElements>

So, it does not encrypt the body now.Any Idea?

Thanks.

Nencho