POX return data from WCF Data Services
Posted
by keithwarren7
on Stack Overflow
See other posts from Stack Overflow
or by keithwarren7
Published on 2010-06-07T20:54:03Z
Indexed on
2010/06/10
20:12 UTC
Read the original article
Hit count: 487
I am using WCF Data Services (netfx4) to provide data sourced from SQL via EF, the standard OData mechanism is fine and JSON works as well but I need a third option for generic POX (plain old xml). I have yet to come across a simple strategy or switch that allows me to control this but I am sure one must exist or a workaround method might be available. Any ideas?
Ideally I would like to be able to use something like the JSONP option wherein I append 'format=JSON' to the URL, in this case 'format=pox' or 'POX=true' or something of that nature.
© Stack Overflow or respective owner