voy al https://mywebsite/MyApp/Myservice.svc y sale el siguiente error:https con el error de WCF: "No se pudo encontrar la dirección base que coincide con https Scheme"
(El enlace funciona si uso http: //)
" El servicio '/MyApp/MyService.svc' no se puede activar debido a una excepción durante la compilación. El mensaje de excepción es: No se pudo encontrar una dirección base que concuerde con el esquema https para el punto final con binding BasicHttpBinding. ] .. "
EDITAR: Así que si cambio address=""
-address="https:// ..."
entonces me sale este error en su lugar:
"de error: El protocolo 'https' no se admite ..... El ChannelDispatcher en 'https://.../Annotation.svc' con un contrato (s) '" Anotación "'no puede abrir su IChannelListener. "
Aquí es lo que mi Web.Config
se parece a:.
<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>
El enlace -> http://blog.hackedbrain.com/archive/2006/09/26/5281.aspx no funciona. – Lamps
Usar enlace-> http://blog.hackedbrain.com/2006/09/26/how-to-ssl-passthrough-with-wcf-or-transportwithmessagecredential-over-plain-http/ – meetjaydeep