我有一个win服务配置文件如下
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_webservice" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="102400000" maxBufferPoolSize="102400000" maxReceivedMessageSize="102400000"
messageEncoding="Mtom" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="102400000"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://systemname/ProxyService/Service.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_webservice"
contract="ABC.webservice" name="BasicHttpBinding_webservice" />
</client>
我收到以下错误。提供的 URI 方案“http”无效;预期的“https”。参数名称:通过
我应该更改绑定或安全设置吗?顺便说一句,SSL 证书被禁用。