mex binding error in WCF

后端 未结 3 761
[愿得一人]
[愿得一人] 2020-12-25 15:19

I am using VSTS 2008 + C# + .NET 3.0. I am using a self-hosted WCF service. When executing the following statement, there is the following \"binding not found\" error. I hav

3条回答
  •  天涯浪人
    2020-12-25 15:38

    The base address for your service defines "HTTPS://" - but your mex address is "HTTP".

    If you want your service to use https://, you'll need to use the mexHttpsBinding as well:

    
        
            
              
                
              
            
            
            
        
    
    

    Marc

提交回复
热议问题