Supplying dedicated credentials for firewall or proxy authentication

For WCF services over the HTTP transport protocol, it is possible that the server machine and client callers are located in different network environments and the client might need to pass some intermediate firewall or proxy to reach the server endpoint. If the proxy or firewall requires client authentication, the WCF client consumer also needs to supply credentials for the firewall or proxy server in addition to the authentication of the WCF service endpoint itself. If you're familiar with .NET HttpWebRequest programming, you will find it quite straightforward to handle this kind of web proxy authentication, since HttpWebRequest type provides a Proxy property (of System.Net.WebProxy ...

Get Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.