title: Resolving Configuration Error in WCF AddressFilter Mismatch
body: <p>I am getting the following error and could use some help resolving it. Anyone have any ideas?</p>
  
  <p>The message with To '<a href="http://localhost:60078/BidService.svc/Query" rel="nofollow noreferrer">http://localhost:60078/BidService.svc/Query</a>' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher.  Check that the sender and receiver's EndpointAddresses agree.</p>
  
  <p>The client configuration file is:</p>
  
  <pre><code>&lt;system.serviceModel&gt;
      &lt;bindings&gt;
          &lt;customBinding&gt;
              &lt;binding name="WebHttpBinding_IBidService"&gt;
                  &lt;textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
                      messageVersion="None" writeEncoding="utf-8"&gt;
                      &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" 
                                    maxArrayLength="16384"
                          maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
                  &lt;/textMessageEncoding&gt;
                      &lt;httpTransport manualAddressing="True" /&gt;
              &lt;/binding&gt;
          &lt;/customBinding&gt;
      &lt;/bindings&gt;
      &lt;client&gt;
          &lt;endpoint binding="customBinding" bindingConfiguration="WebHttpBinding_IBidService" 
                    behaviorConfiguration="IBidServiceBehavior"
              contract="myService.IBidService" name="WebHttpBinding_IBidService" /&gt;
      &lt;/client&gt;
          &lt;behaviors&gt;
              &lt;endpointBehaviors&gt;
                  &lt;behavior name="IBidServiceBehavior"&gt;
                      &lt;webHttp/&gt;
                  &lt;/behavior&gt;
              &lt;/endpointBehaviors&gt;
          &lt;/behaviors&gt;
  &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p>My Service Contract is:</p>
  
  <pre><code>[ServiceContract(Namespace = "http://xxxx.com/services/bids")]
  public interface IBidService
  {
      [OperationContract(Action = "*")]
      [WebGet(RequestFormat = WebMessageFormat.Xml, ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Wrapped)]
      List&lt;BidSummary&gt; Query();
  }
  </code></pre>
  
  <p>My Service is configured as follows:</p>
  
  <pre><code>&lt;service name="xxx.Web.Services.Bids.BidService" 
            behaviorConfiguration="Cutter.Web.Services.Bids.BidServiceBehavior"&gt;
     &lt;endpoint address="" binding="basicHttpBinding" 
               contract="xxx.Web.Services.Bids.IBidService" /&gt;                
     &lt;endpoint address="mex" binding="mexHttpBinding" 
               contract="IMetadataExchange" /&gt;
  &lt;/service&gt;
  
  &lt;behavior name="Cutter.Web.Services.Bids.BidServiceBehavior"&gt;
     &lt;serviceMetadata httpGetEnabled="true"  /&gt;
     &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
  &lt;/behavior&gt;
  </code></pre>
  
  <p>The one thing I read that you need to have the webHttp behavior which I've added. Any help would be appreciated. I just want a simple POX Service</p>