c# - WCF Silverlight HTTP AND HTTPS -


I've got a silverlight app that I want to call with https or http. I have to work with one or the other, but I am having trouble working with a web.

I have found a post on Silverlight.net forums that show how they did it, but this is not working for me (post marked as answer)

Am I missing something?

If I browse the https URL for the service then gives me the Max Details page but if I have an HTTP site for my similar service;

"The basic address matching the plan https for basic endpoint with basic HTBiding could not be found. The registered base address scheme is [http]."

If you are not able to see service on http, then it will explain why the Silverlight http service Can not connect.

Ensure that you define both a HTTP and HTTPS endpoint in your service. Posting a .config file for your service might be helpful.

This is a related SO question

If you can see the service details for both http and https through the browser, you can connect to any service to get Silverlight Can try.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -