This content has been marked as final.
Show 2 replies
-
1. Re: Servlet response as datasource
rareddy Jul 13, 2012 9:01 AM (in response to nagashree.b)Sure, build a model that returns the XML as the result document then convert that into JSON using any library, or read your resultset in servlet and build the JSON document yourself.
Ramesh..
-
2. Re: Servlet response as datasource
shawkins Jul 13, 2012 11:21 AM (in response to rareddy)An enhancement is warrented to aid in the construction of json results similar to our SQL/XML handling, but the typical approach in the JBoss world would be to use RESTEasy http://www.jboss.org/resteasy/ to consume your Teiid results and provide a json endpoint.