Could not find default endpoint element that references contract

前端 未结 7 1287
傲寒
傲寒 2020-12-09 11:13

I know this has been beaten to death, but I cannot get this to work as it should. I have a WCF service with several contracts. They all work fine when calling them directly

7条回答
  •  死守一世寂寞
    2020-12-09 11:40

    Actually the trick to this one was to use the svcutil.exe to create the proxy. I had been trying to create the proxy through Visual Studio "Add Service" wizard. Once I did that, the configuration was a breeze.

    SvcUtil.exe

提交回复
热议问题