Reputation: 1192
I'm finding it very difficult to find an example on message level security for a WCF service. Specifically looking for an example on how to do message level security with basicHttpBinding and one of the following algoirthms: Basic128, Basic128Sha256, or BasicSha256Rsa15.
I have played a little in Visual Studio, but I missing a few things. I'm expecting to be able to setup the Web.Config so that th Wsdl states what security algorithms are required once published. Am I thinking about this wrong? Also how do I load the keys used on each end of the exchange.
I really just need a simple example.
Thanks!
Upvotes: 0
Views: 4928
Reputation: 27
http://msdn.microsoft.com/en-us/library/ff648863.aspx Check this link . It says basicHttpBinding support the Message level.
Upvotes: 0
Reputation: 1641
basicHttpBinding doesn't support message level security for solutions below .NET 3.0.
Upvotes: 1
Reputation: 2733
basicHttpBinding supports message level security via the message element. SecurityAlgorithmSuite provides a variety of algorithms for use in this context. There is a reasonably good example available here in the MS docs.
Upvotes: 2