There was no endpoint listening at http://… that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

This error message is often searched for and posted about online, but none of the posts managed to help me fix my issue with a WCF service. Turns out in my case it was a binding issue, it had to be httpsBinding and not httpBinding for the bindingConfiguration attribute in the endpoint element.

<endpoint binding="..." bindingConfiguration="httpsBinding" contract="..." address="..." listenUri="..."/>