WCF - Cannot obtain Metadata

前端 未结 2 1132
Happy的楠姐
Happy的楠姐 2021-02-11 07:12

It is running in an Intranet using IIS 7 and it works fine whenever I enable Anonymous Authentication in the IIS Manager. If I disable it and try to run it using wcftestclient t

2条回答
  •  有刺的猬
    2021-02-11 07:38

    Javi was right, I had to remove the mex endpoint and just for the records, this is the final version of the web.config:

    
     
         
             
                 
                     
                 
            
         
     
     
         
             
             
         
     
     
         
             
                 
                
             
         
    
    
    

    more details here, IIS hosted WCF-service + Windows auth in IIS + TransportCredentialOnly/Windows auth in basicHttpBinding

提交回复
热议问题