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 2440
情书的邮戳
情书的邮戳 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:43

    X++ binding = endPoint.get_Binding(); binding.set_UseDefaultWebProxy(false);

提交回复
热议问题