Last post Oct 10, 2013 09:09 AM by A. N.
Oct 04, 2013 04:39 AM|A. N.|LINK
we use a simple soap webservice over http in our silverlight application, with a http call all works fine. One of our customer uses a load balancer in the middle with ssl. Our customer explained it as follows and so I understand that too, the incomming call
is https://.../webservice.asmx and the load balancer forwards it as
http://...webservice.asmx to the iis and the iis returned the result like from a normal http call, but after that there must be a problem because the silverlight application gets no completed event and no result.
I hope you can follow my explanation.
Are there some kind of settings, so that the webservice works?
Oct 07, 2013 06:01 AM|Amy Peng - MSFT|LINK
It seems that your load balancer will redirect traffic from 443 port to custom defined (for example 543 port) of your physical boxes. This is creating problem of contact mistmatching since Silverlight has precompiled setting of endpoint without any knowledge
how mapping is done. In order to make it working you need full domain name specified in your endpoint address and listenUri attribute which contains reference to localhost with custom ssl port number.
For more information, please try to refer to this article:
Oct 08, 2013 07:55 AM|A. N.|LINK
are these settings possible with a simple Web Service like the sample below?
/// Summary description for WebService2
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
public class WebService2 : System.Web.Services.WebService
public string HelloWorld()
return "Hello World";
Oct 10, 2013 09:09 AM|A. N.|LINK
Now I found the solution,
problem is, the the default security settings of a simple web service is <security
my case it must set to <security
setting could modified in the ServiceReferences.ClientConfig file or in the code behind by calling the service with some parameters.
uri = Application.Current.Host.Source.AbsoluteUri;
transportSecurityBinding = new
uri + @"TestWebService1.asmx");