The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8)

前端 未结 5 1159
轻奢々
轻奢々 2020-12-01 18:14

I created WCF service and testing WCF client using stand alone application. I was able to view this service using Internet Explorer also able to view in Visual studio servic

5条回答
  •  忘掉有多难
    2020-12-01 19:16

    text/html is SOAP 1.1 header and Content-Type: application/soap+xml is SOAP 1.2 Verify your bindings and return header. It should be same either 1.1 or 1.2

提交回复
热议问题