Ciao.
Tempo fa ho fatto un deploy di un sito web che utilizza un autocompletamento di una textbox con l'utilizzo di un webservice wcf. Tutto ok fino a che il sito non è stato messo su https il quale adesso questa funzionalità di auto completamento non funziona.
Cercando su internet ho trovato questa soluzione che ho implementato, ma non funziona piu' nulla:
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="MyApp.WUC.ServiceAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<services>
<service name="MyApp.WUC.Service">
<endpoint address=""
behaviorConfiguration="MyApp.WUC.ServiceAspNetAjaxBehavior"
binding="webHttpBinding"
bindingConfiguration="webBindingsecure"
contract="MyApp.WUC.Service" />
<endpoint address=""
behaviorConfiguration="MyApp.WUC.ServiceAspNetAjaxBehavior"
binding="webHttpBinding"
bindingConfiguration="webBinding"
contract="MyApp.WUC.Service" />
</service>
</services>
<bindings>
<webHttpBinding>
<binding name="webBindingsecure">
<security mode="Transport"></security>
</binding>
<binding name="webBinding">
<security mode="None"></security>
</binding>
</webHttpBinding>
</bindings>
</system.serviceModel>
Questo è il sito dove ho preso el info:
http://weblogs.asp.net/srkirkland/archive/2008/02/20/wcf-bindings-needed-for-https.aspx Dove sbaglio?