Get XMLA from ruby

I have a ruby ​​server-side program that uses a specific library to send a request to the olap server and gets a result data set from the same library.

For some reason, I don’t want to call library methods to get the result dataset, and I want to directly get the XMLA result. But I do not know what is the code in ruby ​​(or jruby?), To do this. I want to send a request and get the XML text "text" from my leisure service (which is in ruby).

+4
source share
1 answer

Hey, I see, it's a little outdated, but still. As far as I can tell, you have two options:

  • Use https://github.com/rsim/mondrian-olap - all kinds of cool things, but requires jruby, since it uses java libraries to connect and manage the cube itself

  • Use https://github.com/drKreso/cube - barebone as you receive it, but you can connect to the servlet from Mondrian XML via SOAP SOAP messages and get the data back. Good for educational purposes, as it has the necessary message (if you want the port in python to be a breeze)

ps I made a choice 2), so I could be somewhat biased :)

+2
source

All Articles