I have 2 projects, X and Y. Y calls a Web service and the configuration is defined in Y's app.config (its a DLL).
When X calls Y methods, I get the following exception:
System.InvalidOperationException: Could not find default endpoint element that references contract 'xxxx.ServiceSoap' 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.
How can I include/import Y's app.config into X's web.config so it will have this configuration?
Thank you!