title: WCF Error: The address property on ChannelFactory.Endpoint was null
body: <p>I created a console application which is serving as a WCF client. The app.config consists of the following: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;customBinding&gt;
                  &lt;binding name="WebHttpBinding_IWebContentService"&gt;
                      &lt;textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
                          messageVersion="Soap12" writeEncoding="utf-8"&gt;
                          &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                              maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
                      &lt;/textMessageEncoding&gt;
                  &lt;/binding&gt;
              &lt;/customBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="http://localhost:1252/SomeService.svc" binding="customBinding" bindingConfiguration="WebHttpBinding_IWebContentService"
                  contract="WebContentClient.IWebContentService" name="WebHttpBinding_IWebContentService" /&gt;
  
          &lt;/client&gt;
  
  
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>When I run it I get the following error:</p>
  
  <pre><code>The address property on ChannelFactory.Endpoint was null 
  </code></pre>
  
  <p>The endpoint element has an address property but I am not sure what I am suppose to assign that property. I am running my web service on localhost.</p>
  
  <p><strong>UPDATE 1:</strong> </p>
  
  <p>I added the address and I have updated the original code. But I get the error back saying that There was no endpoint listening to the address="http://localhost:1252/SomeService.svc". If I visit the wcf url I can see the web service.</p>