[Mondrian] RESTful web service

Julian Hyde jhyde at pentaho.com
Tue May 11 14:30:25 EDT 2010

There have been some other replies suggesting you look at CDA and xmla4js.
You should definitely look into those.
Note that mondrian's XMLA server can now return results in JSON format (in
addition to XML). (See
http://julianhyde.blogspot.com/2010/01/xmla4js.html and the comment thread
following it.)
If you are building something from scratch, I suggest you build on top of
olap4j rather than mondrian's legacy API.


From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Kim Goldov
Sent: Tuesday, May 11, 2010 11:09 AM
To: 'mondrian at pentaho.org'
Subject: [Mondrian] RESTful web service

I'm building a RESTful Mondrian web service. The service will accept GET
requests containing MDX or our legacy query format. The request will return
XML, CSV, or a JSON format compatible with Google's interactive time series
graphs. I'm using Spring MVC with an XSLT view so I can easily map the
result to the desired output format.


I can think of two general approaches that I might take. One would be to
generate XML from the Mondrian "Result" object using JAXB or an equivalent
mechanism. The other would be to tap into Mondrian's XML/A capability at
some level. I'm not sure what the best way is to go about either of these
approaches. Is there another alternative I have not thought of?


Please respond if this isn't the correct venue for this type of question.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20100511/391c7f08/attachment.html 

More information about the Mondrian mailing list