In client project, app.config should be written with proper signature as:
<client>
<endpoint address="http://address/MyService/MyService.svc">
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IMyService"
contract="IMyService" />
</endpoint></client>