473,387 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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.

Regards
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
0 1871

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Microsoft | last post by:
I'm trying to display a word document inside a web page, but everytime I do I get this error: Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied: 'CreateObject' Does...
0
by: Sugapablo | last post by:
I have an ASP page that has the following two lines at top: Response.ContentType="text/xml" Response.AddHeader "Content-Disposition", "filename=xtest.xml" The page then proceeds to query a...
0
by: Krishnamoorthy | last post by:
have a website which is running under asp. I have created a folder and declared as Virtual directory from webspace provider. Now i placed files which are generated at a time of creating new...
4
by: jrasmussen | last post by:
I have created an Excel spreadsheet for the web. When it opens in IE 6.0 I get the message that the format is not supported. This is because it is in tab delimited format. Ane when I save the file,...
2
by: Niraj Ranka | last post by:
Hello, I am trying to use XML Http objects via Javascript to get the values from some websites. When i am checking it on local machine it is working fine. But when i upload the same of my web...
5
by: Scupper | last post by:
Certain "Imports" of classes change the frame of reference within a class such that making calls to functions such as "Application.DoEvents()" and so on becomes ambiguous and gives a "Reference to...
4
by: cathy | last post by:
Hi All, I am having problems displaying content relevant to the option selected in a drop-down menu. I have an xml document which is running content through Flash and I need to have the same...
5
by: Smithers | last post by:
I'm writing a code library that needs to be reused between a Windows Forms application and and an ASP.NET Web application. The library needs to do a couple of things differently depending on the...
1
by: neisan | last post by:
Hi there, I'm trying for a while to obtain the XML content of a file without spaces. I have a XML file with the following content: <script> <command> <createDocument>...
0
by: mansooralia | last post by:
Hi, While reading an XML with DTD, I get the "Cannot add a nested relation or an element column to a table containing a SimpleContent column." error. Can anyone help me resolve this issue. I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.