title: Incompatible Type when using web service
body: <p>I have to use a web service which returns a string as result, it gets some string parameters too, so all things i have done is as this:
  1- I have added that service reference to my project.
  2- I have created an instance of that service class
  3- I have call a desire function within class instance</p>
  
  <p>here is my code:</p>
  
  <pre><code>     MyServiceNS.PscoWSDLPortTypeClient mys= new MyServiceNS.PscoWSDLPortTypeClient();
       string res;
       res =mys.srvReq("11320000", "21310000", "13901009", "1", "3");
  </code></pre>
  
  <p>But the problem is when i call mys.srvReq i get an error as below:</p>
  
  <blockquote>
    <p>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. The first 572
    bytes of the response were: ?xml version="1.0"
    encoding="ISO-8859-1"?SOAP-ENV:Envelope
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-</p>
  </blockquote>