How to change WSDL URL from internal machine name to public?

前端 未结 3 835
[愿得一人]
[愿得一人] 2020-12-04 11:25

I have a simple service that I deployed to Azure. It is accessible via:

http://xxxxxxxxxxxxxxxxxxxxxxx.cloudapp.net/MyTestService.svc

The U

3条回答
  •  感情败类
    2020-12-04 11:56

    The blog post Using Request Headers for Metadata Address is similar to
    Victor's answer, but explains that default ports are optional and can be omitted:

    
      
           
              
                
              
            
      
    
    

    It also shows how to enable the behavior in the code.

    sh.Description.Behaviors.Add(new UseRequestHeadersForMetadataAddressBehavior());
    

提交回复
热议问题