The binding at system.serviceModel/bindings/basicHttpBinding does not have a configured binding named.
While consuming any WCF Service method If you face this type error than follow below steps:
Open your web.config file.
Remove: bindingConfiguration="wsHttpBinding" from your endpoint.
- <endpoint address="http://localhost:8090/Services/MyService" binding="basicHttpBinding" bindingConfiguration="wsHttpBinding" contract="IContracts" name="wsHttpBinding" />