I am currently running IE8 and am doing some testing with WCF data services. When I make a call to one of my collections in the browser I get the
\"You a
If you want to view in IE8 the XML, click
Tools > Internet Options.
If you now review your OData page, the feed viewer will not be showing, but the data will be displayed in XML.
IE 8 and 9 just do not support displaying the OData - Atom Pub feed output. In IE9, the following explanation is provided:
Internet Explorer does not support this feed format.
Supported feed formats
- ATOM 0.3, 1.0
- RSS 0.91, 0.92
- RSS 1.0
- RSS 2.0
However, there are several easy ways to still view the output from the DataService RESTful call:
Maybe IE 10 will have better support of displaying and supporting a feed based on a protocol (OData) created by the very people that created and own IE: Microsoft.
You need to disable feed reading view: http://blogs.msdn.com/b/darrenliu/archive/2011/01/26/turn-rss-feed-reading-view-off.aspx.
I'm having the opposite problem, Chrome won't show the raw XML anymore for me (I swear it used to).
Make sure you call
response.setCharacterEncoding("text/xml;charset=utf-8");
or the equivalent.