https con error WCF: "No se pudo encontrar la dirección base que coincide con el esquema https"
voy ahttps: //mywebsite/MyApp/Myservice.svc y obtiene el siguiente error:
(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 coincida con el esquema https para el punto final con el enlace BasicHttpBinding. Los esquemas de dirección base registrados son [http] .."
EDITAR: Entonces si cambioaddress=""
aaddress="https:// ..."
entonces recibo este error en su lugar:
"Error: el protocolo 'https' no es compatible ..... ChannelDispatcher en 'https: //.../Annotation.svc'with contract (s)' "Annotation" 'no puede abrir su IChannelListener."
Esto es lo que miWeb.Config
parece:
<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>