I am currently calling a ColdFusion web service in C#. The web service is just a simple query used to search for users. I can search just fine and it returns the users I search for unless I try searching for ‘Johnson’ then it returns:
Client found response content type of '', but expected 'text/xml'.
The request failed with the error message:
--
--.
I don’t know why it doesn’t work when searching for that specific string. I thought it might be timing out but the error pops up immediately after sending the request. Any ideas???
I found the problem, turns out there was an invalid character being returned in one of the rows in the query that couldn’t be put in the xml. Removed the invalid character and it works fine now.