Content Type application/soap+xml; charset=utf-8 was not supported by service

后端 未结 17 2374
长发绾君心
长发绾君心 2020-12-15 02:54

I am getting the error below while trying to add WCF service to WCFTestClient. I went through a number of solutions on the web but I couldn\'t get it to work.

Can

17条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 03:16

    Here is the example of a web.config that solve the issue for me. Pay attention on the <binding name="TransportSecurity" messageEncoding="Text" textEncoding="utf-8">

提交回复
热议问题