Hi Joe,
I know I haven't bought you a beer lately but, if you can figure this one out I will buy you (or anyone else) a six pack!
In mojoPortal you have the RoleService.scv and the AuthenticationService.svc WCF services that I have been consuming with my Silverlight 3 client application (online test for ADHD) and everything works fine. I am running these services witnh HTTPS and a server certificate. I have created another WCF service called MEDChekService.svc that I have been using in development and staging without issues but, when I deploy to the hosting service the MEDChekService.svc does not work but the AuthenticationService.svc and RoleService.svc both work fine using SSL.
The error that returns when I access the MEDChekService.svc is this:
Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].
------here is a snippet from my web.config for the services --------------
<scripting>
<webServices>
<authenticationService enabled="true" requireSSL="false" />
<roleService enabled="true" />
</webServices>
</scripting>
</system.web.extensions>
<system.serviceModel>
<services>
<service name="mojoPortal.Web.Services.MEDChekService" behaviorConfiguration="MEDChekServiceBehavior">
<host>
<baseAddresses>
<add baseAddress="https://www.mywebsite.com/Services/MEDChekService"/>
</baseAddresses>
</host>
<endpoint address="" contract="mojoPortal.Web.Services.IMEDChekService" binding="basicHttpBinding" bindingConfiguration="userHttp" />
<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
<service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors">
<host>
<baseAddresses>
<add baseAddress="http://www.mywebsite.com/Services/AuthenticationService"/>
<add baseAddress="https://www.mywebsite.com/Services/AuthenticationService"/>
</baseAddresses>
</host>
<endpoint address="https://www.mywebsite.com/Services/AuthenticationService.svc" binding="basicHttpBinding" bindingConfiguration="userHttp" contract="System.Web.ApplicationServices.AuthenticationService" bindingNamespace="http://asp.net/ApplicationServices/v200"/>
<endpoint address="https://www.mywebsite.com/Services/mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
<service name="System.Web.ApplicationServices.RoleService" behaviorConfiguration="RoleServiceTypeBehaviors" >
<host>
<baseAddresses>
<add baseAddress="https://www.mywebsite.com/Services/RoleService"/>
<add baseAddress="http://www.mywebsite.com/Services/RoleService"/>
</baseAddresses>
</host>
<endpoint address="https://www.mywebsite.com/Services/RoleService.svc" contract="System.Web.ApplicationServices.RoleService" binding="basicHttpBinding" bindingConfiguration="userHttp" bindingNamespace="http://asp.net/ApplicationServices/v200" />
<endpoint address="https://www.mywebsite.com/Services/mex1" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="userHttp">
<security mode="Transport" />
</binding>
</basicHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="AuthenticationServiceTypeBehaviors">
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" httpsGetUrl="https://www.mywebsite.com/Services/AuthenticationService.svc"/>
</behavior>
<behavior name="RoleServiceTypeBehaviors">
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" httpsGetUrl="https://www.mywebsite.com/Services/RoleService.svc"/>
</behavior>
<behavior name="MEDChekServiceBehavior">
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" httpsGetUrl="https://www.mywebsite.com/Services/MEDChekService.svc" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true">
<baseAddressPrefixFilters>
<add prefix="https://www.mywebsite.com" />
</baseAddressPrefixFilters>
</serviceHostingEnvironment>
</system.serviceModel>
-----------------end snippet--------------
Any ideas? This has been driving me nuts for a week and none of the other forums i have searched so for have a fix. :(
Brad