Using a WCF proxy through an ISA proxy server

 When I tried I received the following very helpful System.ServiceModel.ProtocolException with Message=”The remote server returned an unexpected response: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  ).”

And this in turn contained an inner exception of type System.Net.WebException and Message=”The remote server returned an error: (407) Proxy Authentication Required.”.

Now I cannot find any way to add the required authentication but it turns out that setting the wsHttpBinding useDefaultWebProxy to false works just fine [:)]

Enjoy! 

3 thoughts on “Using a WCF proxy through an ISA proxy server

  1. Using this configuration I get the next error:

    “Unable to connect to the remote server”

    I need to authenticate to the ISA Server first. But how I don’t know.

  2. Another option is to turn off your proxy in IE (Tools > Internet Options > Connections > LAN Settings) since WCF client uses the IE proxy settings.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>