I found the Mondiran documentation to access the XML/A and setups. But I don’t find the detailed information to access the XML/A directly from the Mondrian server. So how can access the XMLA in Mondrian server using Ajax call like as SSAS? Is there any connection parameter to connect Mondrian BI server through Ajax as below?
I am accessing the XMLA using Ajax call using JavaScript by creating msmdpuml.dll to SSAS (SQL Server Analysis Services), my JavaScript code for accessing XML/A from SSAS using Ajax call is,
I am accessing the XMLA using Ajax call using JavaScript by creating msmdpuml.dll to SSAS (SQL Server Analysis Services), my JavaScript code for accessing XML/A from SSAS using Ajax call is,
Code:
var MDX = " SELECT {[Date].[Fiscal] ON COLUMNS , {[Measures].[Customer Count]} ON ROWS FROM [Adventure Works] ;
$.ajax({
type: "POST",
url: "http://localhost:6078/olap/msmdpump.dll",
data: "<Envelope xmlns=\"http://schemas.xmlsoap.org/soap/envelope/\"> <Header></Header> <Body> <Execute xmlns=\"urn:schemas-microsoft-com:xml-analysis\"> <Command> <Statement> " + MDX +" </Statement> </Command> <Properties> <PropertyList> <Catalog>Adventure Works DW Standard Edition</Catalog> </PropertyList> </Properties> </Execute> </Body> </Envelope>",
success: function (responce, textStatus, jqXHR) {
$('body').append(responce);
},
contentType: "text/xml",
dataType: "xml",
});