Hi everyone, Does anybody have a sample policy.xml file for Rampart that can create a X509SecurityToken for a .NET webservice:
for a .NET client it's something like this.. protected WebServicesClientProtocol foo(WebServicesClientProtocol ws){ ...<snip>... X509SecurityToken st = new X509SecurityToken(foo); Security sc = ws.RequestSoapConext.Security; sc.Tokens.Add(st); sc.Elements.Add(new MessageSignature(st)); sc.Timestamp.TtlInSeconds = ttl; return ws; } I can't find any information on how to create a policy.xml file that can create this kind of token, there is a lot of flexibility, Asymmetric, Symmetric binding.. etc are there any pre-packaged policy.xml's for my situation, or any documentation that breaks down the policy.xml file so that I can construct the SOAP header properly with this X509 token??? Thanks a lot in advance -Mark _________________________________________________________________ Share photos with friends on Windows Live Messenger http://go.microsoft.com/?linkid=9650734