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

后端 未结 8 1281
醉话见心
醉话见心 2020-11-30 10:12

I trying to consume a WCF web service using stand alone application. I am able to view this service using Internet Explorer also able to view in Visual studio service refere

8条回答
  •  旧时难觅i
    2020-11-30 10:38

    This could be an error in the web.config file.

    Open up your URL in your browser, example:

    http://localhost:61277/Email.svc
    

    Check if you have a 500 Error.

    HTTP Error 500.19 - Internal Server Error
    

    Look for the error in these sections:

    Config Error

    Config File

提交回复
热议问题