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 1168
轻奢々
轻奢々 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:11

    Add the following code to the web.config server project

    
    
      
        
          
            
          
        
      
    
    
    
      
        
      
    

    then update client web service,After the update, the following changes are made web.config

    
      
        
          
        
      
    
    
    
      
    

    I hope to be useful

提交回复
热议问题