WCF Service Client: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding

后端 未结 19 2387
情书的邮戳
情书的邮戳 2020-11-27 18:30

I\'ve got a WCF Service running on my local IIS server. I\'ve added it as a service reference to a C# Website Project and it adds fine and generates the proxy classes automa

19条回答
  •  感情败类
    2020-11-27 18:45

    NOTE: If your target server endpoint is using secure socket layer (SSL) certificate

    Change your .config setting from basicHttpBinding to basicHttpsBinding

    I am sure, It will resolve your problem.

提交回复
热议问题