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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s