Last post Jun 22, 2020 11:13 AM by mgebhard
Member
5 Points
18 Posts
Jun 22, 2020 07:46 AM|Noobewolf|LINK
here my web.config
<bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IWorkerProcessService"> <security mode="Transport"> <transport clientCredentialType="Basic"/> </security> </binding> <binding name="BasicHttpBinding_IWorkerProcessService1"/> </basicHttpBinding> </bindings> <client> <endpoint address="http://xxxxxxxx/WorkerProcessService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IWorkerProcessService" contract="ServerReference.IWorkerProcessService" name="BasicHttpBinding_IWorkerProcessService"/> </client>
I get this error The provided URI scheme 'http' is invalid; expected 'https'
Please give solution for this..
All-Star
53041 Points
23612 Posts
Jun 22, 2020 11:13 AM|mgebhard|LINK
Transport security requires HTTPS. Please read the docs.
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/transport-security-overview
Also basic authentication should use HTTPS.
Member
5 Points
18 Posts
I am trying to make a WCF service over basicHttpBinding to be used over http
Jun 22, 2020 07:46 AM|Noobewolf|LINK
here my web.config
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IWorkerProcessService">
<security mode="Transport">
<transport clientCredentialType="Basic"/>
</security>
</binding>
<binding name="BasicHttpBinding_IWorkerProcessService1"/>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://xxxxxxxx/WorkerProcessService.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IWorkerProcessService" contract="ServerReference.IWorkerProcessService"
name="BasicHttpBinding_IWorkerProcessService"/>
</client>
I get this error The provided URI scheme 'http' is invalid; expected 'https'
Please give solution for this..
All-Star
53041 Points
23612 Posts
Re: I am trying to make a WCF service over basicHttpBinding to be used over http
Jun 22, 2020 11:13 AM|mgebhard|LINK
Transport security requires HTTPS. Please read the docs.
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/transport-security-overview
Also basic authentication should use HTTPS.