WCF service is not getting callled when proxy server for LAN enabled RRS feed

  • Question

  • I tried a simple REST service with JSON using WCF, that works fine initially and when i go to Internet Option -> Connections -> LAN settings -> Proxy Server settings -> and I set the Adress and Port at this scenarion servise is not returning JSON output. but this works in IE and it's not working in chrome and firefox.

    I don't know why it's not working when proxy is enabled. and this is working if we check the Bypass proxy server for local server

    If I want the proxy address dynamically how can i set the values below I hard-coded in but that is not working 


            <defaultProxy useDefaultCredentials="true">
             <proxy usesystemdefault="False" proxyaddress="" bypassonlocal="True"/>
               <service name = "abc">
                       <add baseAdress="http://localhost:8712"/>
                 <endpoint adress = "" behaviorConfiguration="rest"binding="webHttpBinding" contract="WCFservicelibrary1.Iservice1">
                   <dns value = "localhost"/>
                 <enspoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
                  <serviceMetadata httpGetEnabled="True"/>
                  <serviceDebug includeExceptionDetailInFaults="true"/>
               <behavior name = "rest">

    • Edited by GUN123456 Tuesday, February 25, 2014 2:35 AM
    Tuesday, February 25, 2014 2:24 AM