Search code examples
wcffiddlerwcftestclient

wcf service not captured in fiddler 2?


still trying to record requests in fiddler 2 : (

i have created a simple WcfService1 in vs.net 2010 when I call it in wcftestclient.exe it does not show up in Fiddler. Anyone any idea?

web.config

<?xml version="1.0"?>
<configuration>

  <system.net>
    <defaultProxy>
      <proxy bypassonlocal="False" usesystemdefault="True" proxyaddress="http://127.0.0.1:8888" />
    </defaultProxy>
  </system.net>

  <system.web>
    <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
    <bindings />
    <client />
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
          <serviceMetadata httpGetEnabled="true"/>
          <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
 <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>

</configuration>

Solution

  • Do you address the endpoint using localhost as hostname? Use your machine name or network IP address since traffic to localhost or 127.0.0.1 doesn't get captured.