Adapt httpGetEnable / httpsGetEnabled in web.config
In case of HTTPS the option httpGetEnabled must be set to "false"
<serviceBehaviors>
<behavior name="ServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<!-- To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpsGetEnabled="False" httpGetEnabled="False"/>
<!-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="True"/>
<serviceAuthorization serviceAuthorizationManagerType="David.Dpe.DpeFramework.ServiceModel.BasicAuthServiceAuthorizationManager, David.Dpe.DpeFramework"/>
</behavior>
</serviceBehaviors>
XML
instead of
<serviceBehaviors>
<behavior name="ServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<!-- To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpsGetEnabled="False" httpGetEnabled="True"/>
<!-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="True"/>
<serviceAuthorization serviceAuthorizationManagerType="David.Dpe.DpeFramework.ServiceModel.BasicAuthServiceAuthorizationManager, David.Dpe.DpeFramework"/>
</behavior>
</serviceBehaviors>