title: How to add/remove ports from WSDL service tag?
body: <p>I have created a web service using C# WCF, which is hosted via IIS. Are there any settings to hide/remove the ports and make the service tag look like this? Are the settings on the IIS server, or in the web service web.config file?</p>
  
  <p>Basically, how can I choose to make it (or not make it) looks like this?</p>
  
  <pre><code>&lt;wsdl:service name="GameService" /&gt;
  </code></pre>
  
  
  
  <p>Clarification: I would like to know is if there is a setting, in IIS or web.config, that would allow to either hide completely, or show all of, the configured ports.</p>
  
  <p>Additional Questions: Does the WSDL not read the Web.Config file? Does IIS generate the WSDL, or does the service?</p>
  
  <p>Further Clarification: This is an attempt to solve <a href="https://stackoverflow.com/questions/29420645/c-sharp-iis-hosted-wcf-service-doesnt-generate-client-endpoints">this question</a>, which has gone unanswered. This question is an attempt to simplify and rephrase so that I actually receive possible solutions.</p>