How to return plain XML from ADO.NET data service

Posted by KHALIL on Stack Overflow See other posts from Stack Overflow or by KHALIL
Published on 2010-04-09T08:30:26Z Indexed on 2010/04/09 8:33 UTC
Read the original article Hit count: 442

Hi,

I was wondering how to return plain XML from ADO.net data services

I have exposed an ADO.net data service to different DEPARTMENTS in our company who are not so technical. The data returned is ATOM FEED which is kind a hard to read / interpret with its format, too much information is returned

people from various departments would execute different queries ( HTTP Request) and i wanted them to display simple XML or atleast something more user friendly like HTML

I have tried ACCEPT attribute of the request to be plain XML and it still returns ATOM

Thanks -- Khalil

© Stack Overflow or respective owner

Related posts about ADO.NET

Related posts about ado.net-data-services