ERRO: "Could not find default endpoint element that references contract 'CaseInfo.ACX_CaseTableQService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element."
C# FILE:
CaseInfo.AxdACX_CaseTableQ ObjCasetableQ = new CaseInfo.AxdACX_CaseTableQ();
CaseInfo.AxdEntity_Acx_CaseTable_1 objAxd = new CaseInfo.AxdEntity_Acx_CaseTable_1();
objAxd.Zipcode = "110035";
objAxd.CustomerCode = "D4Z7PBxSLwwHWUC";
objAxd.Address1 = "EFWE,keshavpuram,DL,IND";
ObjCasetableQ.Acx_CaseTable_1 = new CaseInfo.AxdEntity_Acx_CaseTable_1[1]
{
objAxd
};
CaseInfo.EntityKey[] ReturnKey = Proxy.create(cnx, ObjCasetableQ);
}
APP.CONFIG:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!--<appSettings>
<add key="ServerURL" value=""/>
<add key="Username" value=""/>
<add key="Password" value=""/>
</appSettings>-->
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="NetTcpBinding_ACX_CaseTableQService" />
</netTcpBinding>
</bindings>
<client>
<endpoint address="net.tcp://url"
binding="netTcpBinding" bindingConfiguration="NetTcpBinding_ACX_CaseTableQService"
contract="CaseInfo.ACX_CaseTableQService" name="NetTcpBinding_ACX_CaseTableQService">
<identity>
<userPrincipalName value="administrator@techdomain.com
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>







