title: What happens if I set HttpGetEnabled = false
body: <p>I am confused with Metadata publish concept.</p>
  <p>If in a WCF Service config file I had written :</p>
  <pre><code>  &lt;serviceMetadata httpGetEnabled=&quot;false&quot;/&gt;
  </code></pre>
  <p>No matter it is true or false. When I tried to give service reference in a client application using &quot;Add Service Reference...&quot; and clicked on &quot;Discover&quot;, I am able to retrieve Service Reference.</p>
  <p>But when removed the following two lines: -</p>
  <pre><code>&lt;endpoint address=&quot;mex&quot; binding=&quot;mexBasicHttpBinding&quot; contract=&quot;IMetadataExchange&quot;/&gt;
  
  &lt;serviceMetadata httpGetEnabled=&quot;false&quot;/&gt;
  </code></pre>
  <p>Now after that when I tried to give reference in a client application using &quot;Add Service Reference....&quot; and clicked on &quot;Discover&quot;, I am <strong>NOT</strong> able to retrieve Service Reference....</p>
  <p>Now can anyone tell me what exactly it means.
  Why after setting it False it is still allowing to set reference. And why after removing those lines it is not allowing to set reference.</p>