Could not find default endpoint element

I’ve added a proxy to a webservice to a VS2008/.NET 3.5 solution. When constructing the client .NET throws this error: Could not find default endpoint element that references contract ‘IMySOAPWebService’ in the ServiceModel client configuration section. This might be because no configuaration file was found for your application or because no endpoint element matching this … Read more