WCF Error : Manual addressing is enabled on this factory, so all messages sent must be pre-addressed

后端 未结 4 662
臣服心动
臣服心动 2021-01-01 08:33

I\'ve got a hosted WCF service that I created a custom factory for, so that this would work with multiple host headers:

/// 
/// Required for          


        
4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-01 09:22

    I added a service reference as usual and got this error. Turns out all I had to do was to amend the client config to use an endpoint config with a behaviour specifing webhttp

    
      
    
    
    
      
        
          
        
      
    
    

提交回复
热议问题