29
I am trying to call a webservice using WCF that uses the following encoding:
<?xml version="1.0" encoding="ISO-8859-1" ?>
I cannot change the encoding for this webservice. I have generated a wcf proxy and when I try and call the proxy, I get the following error:
FailedSystem.ServiceModel.ProtocolException: The content type text/xml; charset=ISO-8859-1 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly.
Has anyone any idea how I call a webservice that is not UTF-8 using wcf?