我在控制台应用程序中使用了 wcf soap 服务,我想在我的 app.config 中使用 dev url。
我总是失败,错误是
EndpointDispatcher 的 ContractFilter 不匹配
我认为端点与 wcf 服务 url 不匹配,因为缓慢的 cheetah 转换失败。
<endpoint address="http://wsvc01/xxxDev/xxx.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_ixxx" contract="xxxServiceReference.ixxx"
name="BasicHttpBinding_ixxx" xdt:Transform="Replace" xdt:Locator="Match(address)" />
</client>
我想要的是在调试时替换地址。