Is basicHttpBinding really required when exposing a WCF service as a Web Service for .NET 2.0 Target Client?

后端 未结 3 1760
栀梦
栀梦 2021-01-26 01:37

I have a WCF service and am hosting it in a Windows Service.

I tried to add a reference for the service from a Windows Form client built on .NET 2.0. I could get the Web

3条回答
  •  旧巷少年郎
    2021-01-26 02:15

    You have to specify a binding, and basicHttpBinding is the only one that interoperates with a .NET 2.0 client. .NET 2.0 ASMX clients only support XML over HTTP, and with no WS-* protocols.

提交回复
热议问题