转换wcf端点问题

时间:2014-09-22 09:34:44

标签: .net wcf api web

我在分析器和web.config转换方面遇到了很多问题,任何人都可以指出我做错了什么

<system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="saservices" />
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint name="saservices" address="http://xxxxxx/Service/Service.svc" xdt:Locator="Match(name)" />
    </client>
  </system.serviceModel>

1 个答案:

答案 0 :(得分:0)

您错过了xdt:Transform="SetAttributes"<endpoint>标记中添加此内容,并且没有理由说这不应该起作用。

如果这不是修复并且生病了,请回复消息

感谢Alan