"https" olmaksızın aşağıdaki yapılandırmanın altında kullanıyorum. Şimdi url, "https" olarak değiştirildi. Ama ben alıyorum "Sağlanan URI şeması 'https' geçersiz; beklenen 'http'.Parameter adı: üzerinden" hatası çağırırken.Sağlanan URI şeması 'https' geçersiz; beklenen 'http'.Parametre adı:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="ERightsPortBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://dev.company.com/jws/ws/EService?WSDL" binding="basicHttpBinding" bindingConfiguration="ERightsPortBinding" contract="ERights.ERights" name="ERightsPort" />
</client>
Nasıl hatayı düzeltmek için? Eğer Transport
için security
etiketinin modunu değiştirdiğinizde
Geçenlerde Bunu düzeltmek için http://stackoverflow.com/questions/2435823/the-provided-uri-scheme-https-is-invalid-expected-http-parameter-name-via kullandı. –