Hi Jacques,
You can get the certificate's subject from the X509Security token, this
token is available through the property SoapContext.Current.IdentityToken
X509SecurityToken token =
(X509SecurityToken)SoapContext.Current.IdentityToken;
The soap context is also available in the soap envelope:
envelope.Context.IdentityToken
There is no way to get the method name and arguments. The assertions are
only able to see soap documents, these documents contains a SoapAction and a
SoapBody with elements. WSE internally maps the SoapAction with the web
service's method and parses the SoapBody to get the arguments.
You can do the same, but it seems to be a hard thing to do. (Unless, you
copy some code from WSE using Reflector).
Regards,
Pablo Cibraro.
[quoted text, click to view] "Jacques Marcialis" <jacques.marcialis@missioneco.org> wrote in message
news:1164802323.852147.151340@14g2000cws.googlegroups.com...
> Hi,
>
> I have secured my web service with a MutualCertificate11Security policy
> and it work fine. I use AES256 to encrypt communications after
> authentication with establishSecurityContext="true".
>
> Now I would like to log in a database my WS activity with a new policy
> assertion.
>
> Does someone know how can I retreive the certificatate's subject, the
> method name and the arguments values in the ProcessMessage ?
>
> Thanks a lot
> JM
>