Check Your Binding - HTTP/1.1 415 Unsupported Media Type
A common error you might run across the first time you try to connect a Silverlight 2 application to a WCF service is HTTP/1.1 415 Unsupported Media Type. This is caused by the fact that Silverlight 2 can only consume WCF services using basicHttpBinding. When you add a new WCF service to an ASP.NET project the default binding is wsHttpBinding. So if you get this error go check out the <service tag binding= attribute and see what it’s set to!
Reader Comments