WCF NetTcpBinding com mex

Estou tentando publicar um serviço wcf usando nettcpbinding. Eu quero publicar metadados, usando? Wsdl. Eu adicionei a seguinte linha ao arquivo de configuração:

<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>

mas não consigo ver o wsdl no meu navegador. o que eu fiz errado? Obrigado.

Edit: Aqui é a parte relevante do meu arquivo de configuração:

<system.serviceModel>
   <services>
<service name="wcfcheck.service1" behaviorConfiguration="wcfcheck.Service1Behavior">
       <endpoint address="" binding="netTcpBinding" contract="wcfcheck.Iservice1"/>
       <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
   </services>
<behaviors>
<serviceBehaviors>
  <behavior name="wcfcheck.Service1Behavior">
    <serviceMetadata httpGetEnabled="true" httpGetUrl=""/>
    <serviceDebug includeExceptionDetailInFaults="true"/>
  </behavior>
</serviceBehaviors>

Eu posso não estar acessando o URL correto. Eu tentei os doishttp: // localhost: 51159 / Service1.svc? wsdl ehttp: // localhost: 51159 / Service1.svc / mex? wsdle sem o '? wsdl'.

questionAnswers(3)

yourAnswerToTheQuestion