In WCF, an endpoint must supply the ABC - Address, Binding, Contract.
Make sure that you have all these in your config file.
As far I know, this kind of error occurs in case of any one of these property is missing or incorrect.
If everything is fine with your web.config, please share the service section from web.config file.
Reference:
ABCs of an EndPoint in WCF[
^]
Why WCF cannot be invoked in wcftestclient?[
^]
Hope, it helps :)