Using SAML token with Web Service (wsdl)
问题 I have been given a .wsdl file and .pfx from the provider. I call the IdP and acquire a SAML token. Now I need to pass that token to the WebService. How do I use the SAML token to work with the WebService? I am using .NET 4.5 回答1: I was able to add the token and get response with the help of the following two posts: http://www.noiseworks.org/security-token-service-in-asp-net-application-part-2/ http://travisspencer.com/blog/2012/01/cryptographic-operations-are-r.html Here's my code: private