Created
July 6, 2012 13:30
-
-
Save pstoellberger/3060153 to your computer and use it in GitHub Desktop.
Code Snippet: Using Saiku via HttpClient + Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following code demonstrates how to interact with the saiku webapp backend via Java. | |
You can check it out here: https://gist.github.com/3060118 | |
Basically it creates a http session (important for authentication) and then executes the following steps: | |
1. authenticate | |
2. check if authentication was successful | |
3. fetch a query called "test.saiku" | |
4. post the xml of that query to the workspace | |
5. execute the query | |
6. execute the drillthrough on a returned result of the query | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment