के माध्यम से मैंने "https" के बिना नीचे दिए गए कॉन्फ़िगरेशन का उपयोग किया है। अब यूआरएल "https" में बदल गया है। लेकिन मुझे मिल रहा है "प्रदान की गई यूआरआई योजना 'https' अमान्य है; अपेक्षित 'http'। पैरामीटर का नाम: इसे कॉल करते समय" त्रुटि के माध्यम से।प्रदान की गई यूआरआई योजना 'https' अमान्य है; अपेक्षित 'http'। पैरामीटर का नाम:
<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>
कैसे त्रुटि को ठीक?
मैंने हाल ही में इसे ठीक करने के लिए http://stackoverflow.com/questions/2435823/the-provided-uri-checheme-https-is-invalid-expected-http-parameter-name-via का उपयोग किया था। –