The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via
Posted
by isg
on Stack Overflow
See other posts from Stack Overflow
or by isg
Published on 2010-03-12T20:53:00Z
Indexed on
2010/03/12
20:57 UTC
Read the original article
Hit count: 5839
I am trying to make a WCF service over basicHttpBinding to be used over https. Here's my web.config:
<service behaviorConfiguration="MyServices.PingResultServiceBehavior"
name="MyServices.PingResultService">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="defaultBasicHttpBinding"
contract="MyServices.IPingResultService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
...
<bindings>
<basicHttpBinding>
<binding name="defaultBasicHttpBinding">
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
...
I am connecting using WCFStorm which is able to retrieve all the meta data properly, but when I call the actual method I get:
The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via
Any ideas?
© Stack Overflow or respective owner