I’ve configured a WCF service that is hosted in IIS and am using WCF-Http adapter to communicate to the Service in an orchestration. The service takes a value and returns another value.
The error I am getting is –
Content Type text/xml; charset=utf-8 was not supported by service http://localhost/BrokerService/Service1.svc. The client and service bindings may be mismatched. —> System.Net.WebException: The remote server returned an error: (415) Cannot process the message because the content type ‘text/xml; charset=utf-8’ was not the expected type ‘application/soap+xml; charset=utf-8’.. at System.Net.HttpWebRequest.EndGetResponse(
How do you build your outgoing message to your WCF? Is it by generating schemas from MEX?
The error is that message you try to send to your WCF cannot be serialized by schema type your WCF expects. Some namespace, or something – is wrong in your outgoing message and WCF does not understand it.