I have a WCF service that works well by itself. It contains two methods and one business object, EdiResponse
So I put the Service Refence into the Entities Project.
Adding a reference to Entities.EdiService to the Business and the Data layers.
Then Business calles the method does some examination and passes a List<EdiResponse> to the Data layer to store.
Adding the Using statement in the layers everything complies fine but when the code runs I get the error
Now I copied the app.config file that was created when the reference added to the Bin directory. I am still getting the error.
Any thoughs of how I can get other dlls to recognize the configuration file?
So I put the Service Refence into the Entities Project.
Adding a reference to Entities.EdiService to the Business and the Data layers.
Then Business calles the method does some examination and passes a List<EdiResponse> to the Data layer to store.
Adding the Using statement in the layers everything complies fine but when the code runs I get the error
Code:
Could not find default endpoint element that references contract 'EdiService.IEdiService' 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.
Now I copied the app.config file that was created when the reference added to the Bin directory. I am still getting the error.
Any thoughs of how I can get other dlls to recognize the configuration file?