For the following scenario:
A JavaScript client application sends a JSON query to a webservice. Simplified query example:
{
table: "orders",
filter: {
date: "2011-01-25"
}
}
The webservice compiles the request into a SQL query and executes it on SQL Server. The webservice returns the result of the query in JSON format.
I need the simplest way (technology stack) to implement the webservice. It should run under Windows Server and IIS 6 and work with SQL Server 2005. I prefer a dynamic language so that the changes in the data definition should not be kept in sync manually.