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 2374
情书的邮戳
情书的邮戳 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:53

    I had a similar issue. I resolved it by changing

    
    

    to

    
    

    and also changed my URL to use https:// instead of http://.

    Also in node, change

    binding="basicHttpBinding" 
    

    to

    binding="basicHttpsBinding"
    

    This worked.

提交回复
热议问题