By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,386 Members | 1,774 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,386 IT Pros & Developers. It's quick & easy.

Error with "application/xml" content type in the HTTP Response

P: n/a
I am writing an application (using Visual Studio 2003) that consumes a third
party Web Service, but I receive the following error :

Client found response content type of 'application/xml; charset=utf-8', but
expected 'text/xml'.

I can see the XML Document and it is properly structured. Is there any way
to overide this and get .NET to process the response XML regardless of the
Content Type Setting in the HTTP Response ?

Any Help would be appreciated.

Phil Delrue

PS. I Consume another web service that uses the content type of
"application/soap+xml" in the HTTP response and .NET seems to handle that
without any problems. So why does it error with "application/xml" ?
Feb 2 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.