WCF, Metadata and BIGIP - Can I force the correct url for the WSDL items?

前端 未结 5 1124
-上瘾入骨i
-上瘾入骨i 2020-12-31 15:59

We have a WCF service hosted on ServerA which is a server with no-direct Internet access and has a non-Internet routable IP address.

The service is fronted by BIGI

5条回答
  •  自闭症患者
    2020-12-31 16:21

    Thanks to Mark Allanson, I had exactly the same scenario as yossi dahan had, The WCFExtras.dll file worked for me,

    step1. download the WCFExtras.dll (http://www.codeplex.com/WCFExtras/).
    step2. add it's reference to your project.
    step3. don't waste your time in writing any code as suggested in the sample server app.
    step4. open the web.config and put the below code:

      
         
            
         
      
    


    
    
      
        
          
            
          
        
        
      
    
    
      
        
          
        
      
      
        
          
          
        
      
    
    
      
        
        
      
    
            
    


    step5. also important to note that if you add reference by this URL "https://sslLoadBalancer/ServiceName.svc" then it will not work, always remember to add reference as: "https://sslLoadBalancer/ServiceName.svc?wsdl" this way you will be able to add reference to your application.

    Thats it... if still not works then let me know, I will paste the full web.config file..

    Thanks

提交回复
热议问题