Friday, December 17, 2010

Could not find default endpoint

Could not find default endpoint element that references contract 'IMySOAPWebService' in the service model client configuration section. This might be because no configuration file was found for your application or because no end point element matching this contract could be found in the client element

This error can arise if you are calling the service in a class library and calling the class library from another project.

In this case you will need to include the WS configuration settings into the main projects app.config if its a Windows app or web.config if its a web app.

No comments:

Post a Comment

Thank you for your feedback