You receive the error message:
The provided URI scheme 'http' is invalid; expected 'https'.
Parameter name: via
… while using WCF to connect to an endpoint.
Probably you are trying to send a a username and password to authenticate although the connection is not secure (no HTTPS).
This modified binding should help:
transport clientCredentialType="Basic" />
Thank you so much !
What a pain in the a** this conf file :p
2 years later, Thanks a lot!!!
Another 2 years later comment. Was assigned an OOOOOOLD service which was using an HTTPS endpoint originally but I was rewriting it and needed to use HTTP to test locally. Got this issue and solved it in less than 2 minutes via google and this post.
My endpoint was being set up in code rather than a config, but the same problem/solution holds.
Despues de 4 años, Gracias, tu comentario me sirvio para complementar una conexion a java desde c sharp :D
4 years later, Thanks men! :)
finally a useful answer ! yay
Thanks a lot !!!!!!
Lucian Mic - thank you, it helped a lot.
Thanks. You saved my time :)
really really thank you !!
really thank you!
You are a life saver! Awesome. Many thanks
Almost 9 years later and still saving lives :)
Almost 9 years later, still saving lives
GOD, YES!! Thank you, dude!
9 years of excellent advise ))
Post a Comment