Content Type text/xml; charset=utf-8 was not supported by service

前端 未结 10 1791
北海茫月
北海茫月 2020-12-01 09:59

I have a problem with a WCF service. I have a console application and I need to consume the service without using app.config, so I had to set the endpoint, etc. by code. I d

10条回答
  •  庸人自扰
    2020-12-01 10:51

    I've seen this behavior today when the

       
            
        
    

    was missing from the web.config. The service.svc file was there and got served. It took a while to realize that the problem was not in the binding configuration it self...

提交回复
热议问题