In fact, I wrote a simple service in MS VS 2012 with the 1st function (.NET 4.5). Implementation details should not go, except that I note that when debugging starts WCF Test client, after which everything works fine.
Publish a project, add on the same machine in IIS (6.1, was in components 7) application try to do a review to get that error
HTTP error 500.19 - Internal Server Error
The page you requested is not available because of incorrect configuration data for the page.
Configuration error: failed to read configuration section "protocolMapping" because you skipped the ads section
23: <add binding="basicHttpsBinding" scheme="https"></add></protocolmapping>
In fact, essentially all of the standard, but not unfolding. A similar problem was with the service ASP.NET (have not decided)