Currently I am working on some Silverlight 3 involved projects. As you probably know Silverlight uses WCF web services for data retrieval.
So, as usual I created WCF service in Silverlight hosting application, compiled and added service reference to Silverlight project. Usually wizard creates ServiceReferences.ClientConfig and populates it with bindings settings. However it didn't happen this time. ServiceReferences.ClientConfig was empty. I tried different things, created project from scratch. Tried vb.net, c#. Nothing helped, ServiceReferences.ClientConfig was empty all the time. I remember that it worked this way before. Recently I did some WPF coding with some custom TCP/IP based bindings. Apparently, it some how affected default settings for WCF services. So, solution was very simple:
In your Silverlight hosting application web.config replace default binding binding="wsHttpBinding" with binding="basicHttpBinding".