So I have a WCF service that calls another WCF service. I'm trying to debug the first service, so I attempted to run it. It fails with a 

> 
> There was no endpoint listening at `http://<host>/ConfigurationService/ConfigurationService.svc` that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
> 
> 
> 

The inner exception is

> 
> {"The remote server returned an error: (404) Not Found."}
> 
> 
> 

Reference: 

```
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IConfigurationService/GetGlobalConfigurationGroup", ReplyAction="http://tempuri.org/IConfigurationService/GetGlobalConfigurationGroupResponse")]
ConfigurationGroup GetGlobalConfigurationGroup();

```

Taking that exact endpoint and putting it in a browser works. Taking it and putting it in WCFTestClient works. This code is already running in production, so I don't know what I'm doing wrong. I debug into the call and I see it's being sent as a POST instead of a GET. ~~I'm assuming that's the culprit, but I have no idea on how to fix it or why it's magically different. I've looked at [WCF method sending POST instead of GET](https://stackoverflow.com/questions/2073043/wcf-method-sending-post-instead-of-get) and the link in that answer, but I don't understand it, couldn't get it to work, and the class that extends it is a generated class and won't debug into it either.~~ 

I put on failure request logging on the Configuration service, which logs something if I go to a bad location (ConfigurationService.svc1) but not when calling this.

```
  <system.serviceModel>
    <client>
      <endpoint address="http://<host>/SecurityService/SecurityService.svc"
        behaviorConfiguration="defaultBehavior" binding="basicHttpBinding"
        bindingConfiguration="defaultHttpBinding" contract="Service.ISecurityService"
          name="SecurityService" />
      <endpoint address="http://<host>/ConfigurationService/ConfigurationService.svc"
        behaviorConfiguration="defaultBehavior" binding="basicHttpBinding"
        bindingConfiguration="defaultHttpBinding" contract="Service.IConfigurationService"
        name="ConfigurationService" />
    </client>
    <bindings>
      <basicHttpBinding>
        <binding name="defaultHttpBinding" closeTimeout="00:10:00" openTimeout="00:10:00"
          receiveTimeout="00:10:00" sendTimeout="00:10:00" maxReceivedMessageSize="2147483647" />
      </basicHttpBinding>
    </bindings>
    <behaviors>
      <endpointBehaviors>
        <behavior name="defaultBehavior">
          <dataContractSerializer ignoreExtensionDataObject="true" maxItemsInObjectGraph="2147483647" />
        </behavior>
      </endpointBehaviors>
      <serviceBehaviors>
        <behavior>
          <!-- To avoid disclosing metadata information, set the values below to false before deployment -->
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="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="true"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <protocolMapping>
        <add binding="basicHttpsBinding" scheme="https" />
    </protocolMapping>    
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  </system.serviceModel>

```

Config for Configuration Service:

```
<system.serviceModel>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
    <services>
      <service name="ConfigurationService" behaviorConfiguration="defaultBehavior">
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="defaultHttpBinding"
                  contract="IConfigurationService"/>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
      </service>
    </services>
    <bindings>
      <basicHttpBinding>
        <binding name="defaultHttpBinding" maxReceivedMessageSize="2147483647" openTimeout="00:10:00" closeTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00">
          <readerQuotas maxStringContentLength="2147483647" maxArrayLength="20971520"/>
        </binding>
      </basicHttpBinding>
    </bindings>
    <behaviors>
      <serviceBehaviors>
        <behavior name="defaultBehavior">
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="true"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>

```

Edit: I've noticed that it only exhibits this behavior when running a web project.