Hi Experts,
I am in a trouble since yesterday, I have a Plugin from which i am trying to call a Service Method of a WCF service. But i am facing this error:
Could not find default endpoint element that references contract 'ServiceReference1.IAccount' 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.'
This is how my app.config of Client (Plugin) looks like,
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IAccount" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://someipadress:xy/CRMService.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IAccount"
contract="IAccount" name="BasicHttpBinding_IAccount" />
</client>
</system.serviceModel>
</configuration>
*This post is locked for comments