1.

 <bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IUser" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:2059/User.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IUser" contract="WCFService.IUser"
name="BasicHttpBinding_IUser" />
</client>

2.

 <?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IDeviceCodeService" messageEncoding="Mtom" />
<binding name="BasicHttpBinding_ICheck" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:28783/DeviceCodeService.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IDeviceCodeService"
contract="OMSWcfService.IDeviceCodeService" name="BasicHttpBinding_IDeviceCodeService" />
<endpoint address="http://localhost:3359/Check.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_ICheck" contract="ServiceReference1.ICheck"
name="BasicHttpBinding_ICheck" />
</client>
</system.serviceModel>
</configuration>
05-27 19:48