HTTP Bad Request error when requesting a WCF service contract

前端 未结 5 1120
攒了一身酷
攒了一身酷 2020-12-10 04:01

I have a WCF service with the following configuration:


    
        
            

        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-10 04:49

    I was able to fix the "400 Bad Request" problem by switching my WCF service from running off of Visual Studio Development Server to using Local IIS Web server (right click on the project --> properties --> web tab --> radio button under "Servers"). I hope this helps someone out there because it took me two days to figure this one out.

提交回复
热议问题