Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Webservice connection via a load balancer

$
0
0

My (Excel) VSTO (vb.Net) application contains a webservice connection that has to connect to a webservice located behind a load balancer (Big IP)

My understanding of a webservice in a VSTO is that it connects over the passed in url e.g.  https://servername/application.asmx

and the webservice returns a wsdl file in which there is a node <soap:address location = "http://servername/application.asmx"/>

i.e. the returned url uses http, instead of https.  It is this returned address that the client side vsto uses to continue communication and because it does not have the https prefix the subsequent communication fails.

One solution is to add a re-write rule to the load balancer that replaces all occurrences of http://servername with https://servername in the wsdl.  This was quite easy with the BoostEdge load balancer, but not so easy in the Big IP load balancer.  Any suggestions on how to write the rule in a Big IP load balancer gratefully received.

However I would like to know if there are any alternatives to putting a re-write rule in the load balancer. For example is there a way of specifying a relative address instead of an absolute one in a VSTO webservice?

Does anyone have any experience of getting around the issue of a load balancer returning http instead of https?


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>