Hi,
I am getting the following error in the below mentioned code. The screenshot is also attached.
Error:
"Could not find endpoint element with name 'MetastormECL' and contract 'Service' 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 name could be found in the client element."
Code:
IMetastormOperation metastormOperation = new MetastormOperation();
Here is the content of the app.config file for Class Library.
<system.serviceModel>
http://celtic25/ECL.WS/Service.svc"
binding="basicHttpBinding" bindingConfiguration="MetastormECL"
contract="Service" name="MetastormECL" />
</system.serviceModel>
Thanks in advance.