I am building a web application which will generate XML from a database based on a specific schema and depending on certain input parameters (such as dates or search terms) carried on a querystring.
Is the best approach to write a web service which returns the required XML or to write an ashx handler that outputs the XML?
Am I able to specify the XML exactly as I want it in each instance?
Consider writing a REST-style WCF service using WebHttpBinding.