Calling WCF Web-Service from behind a proxy server

If you ever have any issues bypassing a proxy server in order to call a webservice (WCF or SOAP), you can modify your web-config file to show the following:

<defaultProxy useDefaultCredentials=”true”>
<proxy proxyaddress=”http://AAA.BBB.CCC.DDD:PORTNO&#8221; usesystemdefault=”True” />


The proxy settings are part of the binding configuration.


        <binding name="Binding1"
                 proxyAddress = "http://myProxy">
          <security mode="None" />