For faster navigation, this Iframe is preloading the Wikiwand page for XML for Analysis.

XML for Analysis

XML for Analysis (XMLA) is an industry standard for data access in analytical systems, such as online analytical processing (OLAP) and data mining. XMLA is based on other industry standards such as XML, SOAP and HTTP. XMLA is maintained by XMLA Council with Microsoft, Hyperion and SAS Institute being the XMLA Council founder members.

History

[edit]

The XMLA specification was first proposed by Microsoft as a successor for OLE DB for OLAP in April 2000. By January 2001 it was joined by Hyperion endorsing XMLA. The 1.0 version of the standard was released in April 2001, and in September 2001 the XMLA Council was formed. In April 2002 SAS joined Microsoft and Hyperion as founding member of XMLA Council.[1] With time, more than 25 companies joined with their support for the standard.

API

[edit]

XMLA consists of only two SOAP methods: execute and discover.[2] It was designed in such a way to preserve simplicity.

Execute

[edit]

Execute method has two parameters:

  • Command - command to be executed. It can be MDX, DMX or SQL.
  • Properties - XML list of command properties such as Timeout, Catalog name, etc.

The result of Execute command could be Multidimensional Dataset or Tabular Rowset.

Discover

[edit]

Discover method was designed to model all the discovery methods possible in OLEDB including various schema rowset, properties, keywords, etc. Discover method allows users to specify both what needs to be discovered and the possible restrictions or properties. The result of Discover method is a rowset.

Query language

[edit]

XMLA specifies MDXML as the query language. In the XMLA 1.1 version, the only construct in MDXML is an MDX statement enclosed in the <Statement> tag.[3]

Example

[edit]

Below is an example of XMLA Execute request with MDX query in command.

<soap:Envelope>
 <soap:Body>
  <Execute xmlns="urn:schemas-microsoft-com:xml-analysis">
   <Command>
    <Statement>SELECT Measures.MEMBERS ON COLUMNS FROM Sales</Statement>
   </Command>
   <Properties>
    <PropertyList>
     <DataSourceInfo/>
     <Catalog>FoodMart</Catalog>
     <Format>Multidimensional</Format>
     <AxisFormat>TupleFormat</AxisFormat>
    </PropertyList>
   </Properties>
  </Execute>
 </soap:Body>
</soap:Envelope>

Session management

[edit]

XMLA has a notion of session state. It is maintained through predefined SOAP headers

  • BeginSession - to begin a new session
  • EndSession - to end existing session
  • UseSession - to use existing session. SessionId attribute previously returned for BeginSession should be used.

References

[edit]
  1. ^ "XML for Analysis gathers steam". Archived from the original on May 28, 2008.
  2. ^ "XML for Analysis Specification". 30 June 2006.
  3. ^ "MDX / mdXML". Archived from the original on September 7, 2008.
[edit]
{{bottomLinkPreText}} {{bottomLinkText}}
XML for Analysis
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?