我觉得这个问题是如此基本,以至于没有任何教程或文档甚至不愿提及如何做到这一点.我熟悉其他平台上的Web服务,但我是WCF服务的新手.
我已经设置了像这样的wsHttpBinding(在web.config中):
<service behaviorConfiguration="IdentityServiceBehavior" name="Com.CompanyName.Service.IdentityService">
    <endpoint address="/Identityservice" binding="wsHttpBinding"
          bindingConfiguration="" contract="Com.CompanyName.Service.IIdentityService" />
    <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration=""
          bindingNamespace="" contract="IMetadataExchange" />
</service>
我试图使用Fiddler或只是一个浏览器来点击URL,它只给我400结果.我已经尝试了一些不同的可能性,URL可能是什么,但没有骰子.我已尝试过此URL及其中的一些变体:http:// localhost:61987/IdentityService.svc/Identityservice
如果有人能指出我在这里缺少的基本信息的方向,我将非常感激.