WCF returning “The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8)

To fix install the WCF non-HTTP activation components

  1. Click the Start button, and then click Control Panel.
  2. Click Programs, and then click Programs and Features.
  3. On the Tasks menu, click Turn Windows features on or off.
  4. Find the .NET Framework 3.0 node, select and then expand it.
  5. Select the WCF Non-Http Activation Components box and save the setting.

Read more...