मैं https://mywebsite/MyApp/Myservice.svc में जाकर निम्नलिखित त्रुटि मिलती है" आधार पते कि योजना https मिलान नहीं ढूंढ सके " सेवा '/MyApp/MyService.svc' को संकलन के दौरान अपवाद के कारण सक्रिय नहीं किया जा सकता है। अपवाद संदेश यह है: आधारभूत पता नहीं मिल सका जो मूलभूत स्थिति को बाइंडिंग बेसिकहट्प बाइंडिंग के साथ एंडपॉइंट के लिए मिलान करता है। पंजीकृत बेस एड्रेस स्कीम [http ] .. "https:</p> <p>(लिंक अगर मैं http का उपयोग काम करता है:: //)</p> <p>"
संपादित करें: तो अगर मैं बदल address=""
address="https:// ..."
को तो मैं बजाय यह त्रुटि प्राप्त:
"त्रुटि: प्रोटोकॉल 'https' समर्थित नहीं है ..... ChannelDispatcher 'https://.../Annotation.svc' पर अनुबंध (रों) के साथ '" एनोटेशन "'अपने आईसीएचनल लिस्टनर को खोलने में असमर्थ है। "
यहाँ क्या मेरी Web.Config
लग रहा है की तरह है:।
<services>
<service behaviorConfiguration="AnnotationWCF.AnnotationBehavior"
name="AnnotationWCF.Annotation">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_Annotation"
contract="AnnotationWCF.Annotation" />
<endpoint address=""
binding="basicHttpBinding" bindingConfiguration="SecureTransport"
contract="AnnotationWCF.Annotation" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_Annotation" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
</binding>
<binding name="SecureTransport" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
</binding>
</basicHttpBinding>
लिंक -> http://blog.hackedbrain.com/archive/2006/09/26/5281.aspx काम नहीं कर रहा है। – Lamps
लिंक का उपयोग करें-> http://blog.hackedbrain.com/2006/09/26/how-to-ssl-passthrough-with-wcf-or-transportwithmessagecredential-over-plain-http/ – meetjaydeep