Solve WCF Error: Metadata publishing for this service is currently disabled

后端 未结 4 1836
鱼传尺愫
鱼传尺愫 2021-02-10 05:54

I want to publish a Webservice with custom binding configuration. I am using a custom binding configuration to increase the default message size of 65536 bytes. The problem I am

4条回答
  •  逝去的感伤
    2021-02-10 06:39

    
    

    You've enabled metadata service through https but you have a http endpoin for mexHttpsBinding. You have to use https for you endpoint address.


    Edit

    You use mexHttpsBinding so it's correct to use httpsGetEnabled. If you don't want https for metadata use httpGetEnabled and change binding type for mex from mexHttpsBinding to mexHttpBinding.

        
        
        
           
                         
           
       
    

    If you want to use https for metadata consider to use a full address notation per your mex endpoint

    
    

提交回复
热议问题