简体   繁体   English

WCF服务端点在负载均衡器之后的绑定

[英]WCF services endpoint binding behind load balancer

i have a WCF web service with basic http bindings. 我有一个带有基本http绑定的WCF Web服务。 i am using https but the SSL is handled by load balancer so the end traffic will be http when it gets to wcf services. 我正在使用https,但SSL由负载均衡器处理,因此当访问wcf服务时,最终流量将为http。 but my endpoint would be the virtual ip of the load balancer. 但我的端点将是负载均衡器的虚拟IP。

The question i have is when i try to add this reference to call this service i add it as https:///service.svc?wsdl but it comes back saying the wsdl is invalid. 我的问题是,当我尝试添加此引用以调用此服务时,我将其添加为https:///service.svc?wsdl,但回来时说wsdl无效。 do i need to change my endpoint in web.config to be loadbalancer ip? 我是否需要将web.config中的端点更改为Loadbalancer ip? or there is more than that? 还是不止如此?

我会尝试将端点更改为负载均衡器的ip。

我必须同时启用Http和Https才能使它正常工作,而dsco文件一直尝试以http下载。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM