<?xml version="1.0" ?>
<Root>
    <TestCase name="test01">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header />
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_DATASOURCES</RequestType>
      <Restrictions />
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="DataSourceName" sql:field="DataSourceName" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DataSourceDescription" sql:field="DataSourceDescription" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="URL" sql:field="URL" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DataSourceInfo" sql:field="DataSourceInfo" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="ProviderName" sql:field="ProviderName" type="xsd:string"/>
                                <xsd:element maxOccurs="unbounded" name="ProviderType" sql:field="ProviderType" type="xsd:string"/>
                                <xsd:element name="AuthenticationMode" sql:field="AuthenticationMode" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <DataSourceName>FoodMart</DataSourceName>
                        <DataSourceDescription>Mondrian FoodMart data source</DataSourceDescription>
                        <URL>http://localhost:8080/mondrian/xmla</URL>
                        <DataSourceInfo>${data.source.info.response}</DataSourceInfo>
                        <ProviderName>Mondrian</ProviderName>
                        <ProviderType>MDP</ProviderType>
                        <AuthenticationMode>Unauthenticated</AuthenticationMode>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test02">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <BeginSession
        mustUnderstand="1"
        xmlns="urn:schemas-microsoft-com:xml-analysis"
    />
    <NamespaceCompatibility
        xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla"
        mustUnderstand="0"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_SCHEMA_ROWSETS</RequestType>
      <Restrictions />
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="SchemaName" sql:field="SchemaName" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SchemaGuid" sql:field="SchemaGuid" type="uuid"/>
                                <xsd:element maxOccurs="unbounded" minOccurs="0" name="Restrictions" sql:field="Restrictions">
                                    <xsd:complexType>
                                        <xsd:sequence>
                                            <xsd:element name="Name" sql:field="Name" type="xsd:string"/>
                                            <xsd:element name="Type" sql:field="Type" type="xsd:string"/>
                                        </xsd:sequence>
                                    </xsd:complexType>
                                </xsd:element>
                                <xsd:element name="Description" sql:field="Description" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <SchemaName>DBSCHEMA_CATALOGS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Identifies the physical attributes associated with catalogs accessible from the provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_COLUMNS</SchemaName>
                        <Restrictions>
                            <Name>TABLE_CATALOG</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_SCHEMA</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>COLUMN_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_PROVIDER_TYPES</SchemaName>
                        <Restrictions>
                            <Name>DATA_TYPE</Name>
                            <Type>xsd:unsignedShort</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>BEST_MATCH</Name>
                            <Type>xsd:boolean</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_SCHEMATA</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_OWNER</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_TABLES</SchemaName>
                        <Restrictions>
                            <Name>TABLE_CATALOG</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_SCHEMA</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_TYPE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_TABLES_INFO</SchemaName>
                        <Restrictions>
                            <Name>TABLE_CATALOG</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_SCHEMA</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_TYPE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_DATASOURCES</SchemaName>
                        <Restrictions>
                            <Name>DataSourceName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>URL</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ProviderName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ProviderType</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>AuthenticationMode</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns a list of XML for Analysis data sources available on the server or Web Service.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_ENUMERATORS</SchemaName>
                        <Restrictions>
                            <Name>EnumName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns a list of names, data types, and enumeration values for enumerators supported by the provider of a specific data source.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_KEYWORDS</SchemaName>
                        <Restrictions>
                            <Name>Keyword</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns an XML list of keywords reserved by the provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_LITERALS</SchemaName>
                        <Restrictions>
                            <Name>LiteralName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns information about literals supported by the provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_PROPERTIES</SchemaName>
                        <Restrictions>
                            <Name>PropertyName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns a list of information and values about the requested properties that are supported by the specified data source provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_SCHEMA_ROWSETS</SchemaName>
                        <Restrictions>
                            <Name>SchemaName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns the names, values, and other information of all supported RequestType enumeration values.</Description>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_ACTIONS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ACTION_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>COORDINATE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>COORDINATE_TYPE</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_CUBES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_TYPE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_DIMENSIONS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_FUNCTIONS</SchemaName>
                        <Restrictions>
                            <Name>FUNCTION_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ORIGIN</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>INTERFACE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LIBRARY_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_HIERARCHIES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_LEVELS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_MEASURES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEASURE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEASURE_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_MEMBERS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_NUMBER</Name>
                            <Type>xsd:unsignedInt</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_TYPE</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_CAPTION</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TREE_OP</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_PROPERTIES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>PROPERTY_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>PROPERTY_TYPE</Name>
                            <Type>xsd:short</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>PROPERTY_CONTENT_TYPE</Name>
                            <Type>xsd:short</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_SETS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SET_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCOPE</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test03">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DBSCHEMA_CATALOGS</RequestType>
      <Restrictions />
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element name="ROLES" sql:field="ROLES" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DATE_MODIFIED" sql:field="DATE_MODIFIED" type="xsd:dateTime"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <DESCRIPTION>No description available</DESCRIPTION>
                        <ROLES>California manager,No HR Cube</ROLES>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test04">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_PROPERTIES</RequestType>
      <Restrictions>
        <RestrictionList>
          <PropertyName>ProviderVersion</PropertyName>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="PropertyName" sql:field="PropertyName" type="xsd:string"/>
                                <xsd:element name="PropertyDescription" sql:field="PropertyDescription" type="xsd:string"/>
                                <xsd:element name="PropertyType" sql:field="PropertyType" type="xsd:string"/>
                                <xsd:element name="PropertyAccessType" sql:field="PropertyAccessType" type="xsd:string"/>
                                <xsd:element name="IsRequired" sql:field="IsRequired" type="xsd:boolean"/>
                                <xsd:element name="Value" sql:field="Value" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <PropertyName>ProviderVersion</PropertyName>
                        <PropertyDescription>The version of the Mondrian XMLA Provider</PropertyDescription>
                        <PropertyType>string</PropertyType>
                        <PropertyAccessType>Read</PropertyAccessType>
                        <IsRequired>false</IsRequired>
                        <Value>${mondrianVersion}</Value>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test05">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_PROPERTIES</RequestType>
      <Restrictions>
        <RestrictionList>
          <PropertyName>Catalog</PropertyName>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="PropertyName" sql:field="PropertyName" type="xsd:string"/>
                                <xsd:element name="PropertyDescription" sql:field="PropertyDescription" type="xsd:string"/>
                                <xsd:element name="PropertyType" sql:field="PropertyType" type="xsd:string"/>
                                <xsd:element name="PropertyAccessType" sql:field="PropertyAccessType" type="xsd:string"/>
                                <xsd:element name="IsRequired" sql:field="IsRequired" type="xsd:boolean"/>
                                <xsd:element name="Value" sql:field="Value" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <PropertyName>Catalog</PropertyName>
                        <PropertyDescription>When establishing a session with an Analysis Services instance to send an XMLA command, this property is equivalent to the OLE DB property, DBPROP_INIT_CATALOG. When you set this property during a session to change the current database for the session, this property is equivalent to the OLE DB property, DBPROP_CURRENTCATALOG. The default value for this property is an empty string.</PropertyDescription>
                        <PropertyType>string</PropertyType>
                        <PropertyAccessType>ReadWrite</PropertyAccessType>
                        <IsRequired>false</IsRequired>
                        <Value/>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test06">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <EndSession
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Execute xmlns="urn:schemas-microsoft-com:xml-analysis">
      <Command>
        <Statement />
      </Command>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
        </PropertyList>
      </Properties>
    </Execute>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:ExecuteResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root"/>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:ExecuteResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test07">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <BeginSession
        mustUnderstand="1"
        xmlns="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Execute xmlns="urn:schemas-microsoft-com:xml-analysis">
      <Command>
        <Statement />
      </Command>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
        </PropertyList>
      </Properties>
    </Execute>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:ExecuteResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root"/>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:ExecuteResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test08">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_CUBES</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>This restriction should never match.</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_TYPE" sql:field="CUBE_TYPE" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="CUBE_GUID" sql:field="CUBE_GUID" type="uuid"/>
                                <xsd:element minOccurs="0" name="CREATED_ON" sql:field="CREATED_ON" type="xsd:dateTime"/>
                                <xsd:element minOccurs="0" name="LAST_SCHEMA_UPDATE" sql:field="LAST_SCHEMA_UPDATE" type="xsd:dateTime"/>
                                <xsd:element minOccurs="0" name="SCHEMA_UPDATED_BY" sql:field="SCHEMA_UPDATED_BY" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="LAST_DATA_UPDATE" sql:field="LAST_DATA_UPDATE" type="xsd:dateTime"/>
                                <xsd:element minOccurs="0" name="DATA_UPDATED_BY" sql:field="DATA_UPDATED_BY" type="xsd:string"/>
                                <xsd:element name="IS_DRILLTHROUGH_ENABLED" sql:field="IS_DRILLTHROUGH_ENABLED" type="xsd:boolean"/>
                                <xsd:element name="IS_WRITE_ENABLED" sql:field="IS_WRITE_ENABLED" type="xsd:boolean"/>
                                <xsd:element name="IS_LINKABLE" sql:field="IS_LINKABLE" type="xsd:boolean"/>
                                <xsd:element name="IS_SQL_ENABLED" sql:field="IS_SQL_ENABLED" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="CUBE_CAPTION" sql:field="CUBE_CAPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DIMENSIONS" sql:field="DIMENSIONS"/>
                                <xsd:element minOccurs="0" name="SETS" sql:field="SETS"/>
                                <xsd:element minOccurs="0" name="MEASURES" sql:field="MEASURES"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test09">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_CUBES</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>Sales</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_TYPE" sql:field="CUBE_TYPE" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="CUBE_GUID" sql:field="CUBE_GUID" type="uuid"/>
                                <xsd:element minOccurs="0" name="CREATED_ON" sql:field="CREATED_ON" type="xsd:dateTime"/>
                                <xsd:element minOccurs="0" name="LAST_SCHEMA_UPDATE" sql:field="LAST_SCHEMA_UPDATE" type="xsd:dateTime"/>
                                <xsd:element minOccurs="0" name="SCHEMA_UPDATED_BY" sql:field="SCHEMA_UPDATED_BY" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="LAST_DATA_UPDATE" sql:field="LAST_DATA_UPDATE" type="xsd:dateTime"/>
                                <xsd:element minOccurs="0" name="DATA_UPDATED_BY" sql:field="DATA_UPDATED_BY" type="xsd:string"/>
                                <xsd:element name="IS_DRILLTHROUGH_ENABLED" sql:field="IS_DRILLTHROUGH_ENABLED" type="xsd:boolean"/>
                                <xsd:element name="IS_WRITE_ENABLED" sql:field="IS_WRITE_ENABLED" type="xsd:boolean"/>
                                <xsd:element name="IS_LINKABLE" sql:field="IS_LINKABLE" type="xsd:boolean"/>
                                <xsd:element name="IS_SQL_ENABLED" sql:field="IS_SQL_ENABLED" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="CUBE_CAPTION" sql:field="CUBE_CAPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DIMENSIONS" sql:field="DIMENSIONS"/>
                                <xsd:element minOccurs="0" name="SETS" sql:field="SETS"/>
                                <xsd:element minOccurs="0" name="MEASURES" sql:field="MEASURES"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <CUBE_TYPE>CUBE</CUBE_TYPE>
                        <LAST_SCHEMA_UPDATE>xxxx-xx-xxTxx:xx:xx</LAST_SCHEMA_UPDATE>
                        <IS_DRILLTHROUGH_ENABLED>true</IS_DRILLTHROUGH_ENABLED>
                        <IS_WRITE_ENABLED>false</IS_WRITE_ENABLED>
                        <IS_LINKABLE>false</IS_LINKABLE>
                        <IS_SQL_ENABLED>false</IS_SQL_ENABLED>
                        <CUBE_CAPTION>Sales</CUBE_CAPTION>
                        <DESCRIPTION>FoodMart Schema - Sales Cube</DESCRIPTION>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test10">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session mustUnderstand="1"
    SessionId="${session.id}"
    xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
  />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_HIERARCHIES</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>This restriction should never match.</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="DIMENSION_UNIQUE_NAME" sql:field="DIMENSION_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="HIERARCHY_NAME" sql:field="HIERARCHY_NAME" type="xsd:string"/>
                                <xsd:element name="HIERARCHY_UNIQUE_NAME" sql:field="HIERARCHY_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="HIERARCHY_GUID" sql:field="HIERARCHY_GUID" type="uuid"/>
                                <xsd:element name="HIERARCHY_CAPTION" sql:field="HIERARCHY_CAPTION" type="xsd:string"/>
                                <xsd:element name="DIMENSION_TYPE" sql:field="DIMENSION_TYPE" type="xsd:short"/>
                                <xsd:element name="HIERARCHY_CARDINALITY" sql:field="HIERARCHY_CARDINALITY" type="xsd:unsignedInt"/>
                                <xsd:element minOccurs="0" name="DEFAULT_MEMBER" sql:field="DEFAULT_MEMBER" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="ALL_MEMBER" sql:field="ALL_MEMBER" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element name="STRUCTURE" sql:field="STRUCTURE" type="xsd:short"/>
                                <xsd:element name="IS_VIRTUAL" sql:field="IS_VIRTUAL" type="xsd:boolean"/>
                                <xsd:element name="IS_READWRITE" sql:field="IS_READWRITE" type="xsd:boolean"/>
                                <xsd:element name="DIMENSION_UNIQUE_SETTINGS" sql:field="DIMENSION_UNIQUE_SETTINGS" type="xsd:int"/>
                                <xsd:element name="DIMENSION_IS_VISIBLE" sql:field="DIMENSION_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element name="HIERARCHY_IS_VISIBLE" sql:field="HIERARCHY_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element name="HIERARCHY_ORDINAL" sql:field="HIERARCHY_ORDINAL" type="xsd:unsignedInt"/>
                                <xsd:element name="DIMENSION_IS_SHARED" sql:field="DIMENSION_IS_SHARED" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="PARENT_CHILD" sql:field="PARENT_CHILD" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="LEVELS" sql:field="LEVELS"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test11">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_HIERARCHIES</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>Sales</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="DIMENSION_UNIQUE_NAME" sql:field="DIMENSION_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="HIERARCHY_NAME" sql:field="HIERARCHY_NAME" type="xsd:string"/>
                                <xsd:element name="HIERARCHY_UNIQUE_NAME" sql:field="HIERARCHY_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="HIERARCHY_GUID" sql:field="HIERARCHY_GUID" type="uuid"/>
                                <xsd:element name="HIERARCHY_CAPTION" sql:field="HIERARCHY_CAPTION" type="xsd:string"/>
                                <xsd:element name="DIMENSION_TYPE" sql:field="DIMENSION_TYPE" type="xsd:short"/>
                                <xsd:element name="HIERARCHY_CARDINALITY" sql:field="HIERARCHY_CARDINALITY" type="xsd:unsignedInt"/>
                                <xsd:element minOccurs="0" name="DEFAULT_MEMBER" sql:field="DEFAULT_MEMBER" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="ALL_MEMBER" sql:field="ALL_MEMBER" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element name="STRUCTURE" sql:field="STRUCTURE" type="xsd:short"/>
                                <xsd:element name="IS_VIRTUAL" sql:field="IS_VIRTUAL" type="xsd:boolean"/>
                                <xsd:element name="IS_READWRITE" sql:field="IS_READWRITE" type="xsd:boolean"/>
                                <xsd:element name="DIMENSION_UNIQUE_SETTINGS" sql:field="DIMENSION_UNIQUE_SETTINGS" type="xsd:int"/>
                                <xsd:element name="DIMENSION_IS_VISIBLE" sql:field="DIMENSION_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element name="HIERARCHY_IS_VISIBLE" sql:field="HIERARCHY_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element name="HIERARCHY_ORDINAL" sql:field="HIERARCHY_ORDINAL" type="xsd:unsignedInt"/>
                                <xsd:element name="DIMENSION_IS_SHARED" sql:field="DIMENSION_IS_SHARED" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="PARENT_CHILD" sql:field="PARENT_CHILD" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="LEVELS" sql:field="LEVELS"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Customers]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Customers</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Customers]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Customers</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>10407</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Customers].[All Customers]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Customers].[All Customers]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Customers Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>9</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Education Level]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Education Level</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Education Level]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Education Level</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>6</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Education Level].[All Education Levels]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Education Level].[All Education Levels]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Education Level Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>10</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Gender]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Gender</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Gender]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Gender</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>3</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Gender].[All Gender]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Gender].[All Gender]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Gender Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>11</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Marital Status]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Marital Status</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Marital Status]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Marital Status</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>112</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Marital Status].[All Marital Status]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Marital Status].[All Marital Status]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Marital Status Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>12</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Measures]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Measures</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Measures]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Measures</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>2</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>9</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Measures].[Unit Sales]</DEFAULT_MEMBER>
                        <DESCRIPTION>Sales Cube - Measures Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>0</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Product]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Product</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Product]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Product</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>2256</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Product].[All Products]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Product].[All Products]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Product Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>6</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Promotion Media]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Promotion Media</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Promotion Media]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Promotion Media</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>15</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Promotion Media].[All Media]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Promotion Media].[All Media]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Promotion Media Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>7</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Promotions]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Promotions</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Promotions]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Promotions</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>52</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Promotions].[All Promotions]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Promotions].[All Promotions]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Promotions Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>8</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Store Size in SQFT]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Store Size in SQFT</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Store Size in SQFT]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Store Size in SQFT</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>22</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Store Size in SQFT].[All Store Size in SQFTs]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Store Size in SQFT].[All Store Size in SQFTs]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Store Size in SQFT Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>2</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Store Type]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Store Type</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Store Type]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Store Type</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>7</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Store Type].[All Store Types]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Store Type].[All Store Types]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Store Type Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>3</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Store]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Store</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Store]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Store</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>63</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Store].[All Stores]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Store].[All Stores]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Store Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>1</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Time]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Time</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Time]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Time</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>1</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>34</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Time].[1997]</DEFAULT_MEMBER>
                        <DESCRIPTION>Sales Cube - Time Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>4</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Time]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Weekly</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Time].[Weekly]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Weekly</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>1</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>837</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Time].[Weekly].[All Weeklys]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Time].[Weekly].[All Weeklys]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Time.Weekly Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>5</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Yearly Income]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_NAME>Yearly Income</HIERARCHY_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Yearly Income]</HIERARCHY_UNIQUE_NAME>
                        <HIERARCHY_CAPTION>Yearly Income</HIERARCHY_CAPTION>
                        <DIMENSION_TYPE>3</DIMENSION_TYPE>
                        <HIERARCHY_CARDINALITY>9</HIERARCHY_CARDINALITY>
                        <DEFAULT_MEMBER>[Yearly Income].[All Yearly Incomes]</DEFAULT_MEMBER>
                        <ALL_MEMBER>[Yearly Income].[All Yearly Incomes]</ALL_MEMBER>
                        <DESCRIPTION>Sales Cube - Yearly Income Hierarchy</DESCRIPTION>
                        <STRUCTURE>0</STRUCTURE>
                        <IS_VIRTUAL>false</IS_VIRTUAL>
                        <IS_READWRITE>false</IS_READWRITE>
                        <DIMENSION_UNIQUE_SETTINGS>0</DIMENSION_UNIQUE_SETTINGS>
                        <DIMENSION_IS_VISIBLE>true</DIMENSION_IS_VISIBLE>
                        <HIERARCHY_IS_VISIBLE>true</HIERARCHY_IS_VISIBLE>
                        <HIERARCHY_ORDINAL>13</HIERARCHY_ORDINAL>
                        <DIMENSION_IS_SHARED>true</DIMENSION_IS_SHARED>
                        <PARENT_CHILD>false</PARENT_CHILD>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test12">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_MEASURES</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>This restriction should never match.</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_NAME" sql:field="MEASURE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_UNIQUE_NAME" sql:field="MEASURE_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_CAPTION" sql:field="MEASURE_CAPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="MEASURE_GUID" sql:field="MEASURE_GUID" type="uuid"/>
                                <xsd:element name="MEASURE_AGGREGATOR" sql:field="MEASURE_AGGREGATOR" type="xsd:int"/>
                                <xsd:element name="DATA_TYPE" sql:field="DATA_TYPE" type="xsd:unsignedShort"/>
                                <xsd:element name="MEASURE_IS_VISIBLE" sql:field="MEASURE_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="LEVELS_LIST" sql:field="LEVELS_LIST" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DEFAULT_FORMAT_STRING" sql:field="DEFAULT_FORMAT_STRING" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testMdschemaMeasuresEmitInvisible">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_MEASURES</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>Sales</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
          <EmitInvisibleMembers>true</EmitInvisibleMembers>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_NAME" sql:field="MEASURE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_UNIQUE_NAME" sql:field="MEASURE_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_CAPTION" sql:field="MEASURE_CAPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="MEASURE_GUID" sql:field="MEASURE_GUID" type="uuid"/>
                                <xsd:element name="MEASURE_AGGREGATOR" sql:field="MEASURE_AGGREGATOR" type="xsd:int"/>
                                <xsd:element name="DATA_TYPE" sql:field="DATA_TYPE" type="xsd:unsignedShort"/>
                                <xsd:element name="MEASURE_IS_VISIBLE" sql:field="MEASURE_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="LEVELS_LIST" sql:field="LEVELS_LIST" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DEFAULT_FORMAT_STRING" sql:field="DEFAULT_FORMAT_STRING" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Customer Count</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Customer Count]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Customer Count</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>0</MEASURE_AGGREGATOR>
                        <DATA_TYPE>3</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Customer Count Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Profit</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Profit]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Profit</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>127</MEASURE_AGGREGATOR>
                        <DATA_TYPE>130</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Profit Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>$#,##0.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Profit Growth</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Profit Growth]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Gewinn-Wachstum</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>127</MEASURE_AGGREGATOR>
                        <DATA_TYPE>130</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Profit Growth Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>0.0%</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Profit last Period</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Profit last Period]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Profit last Period</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>127</MEASURE_AGGREGATOR>
                        <DATA_TYPE>130</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>false</MEASURE_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Profit last Period Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>$#,##0.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Promotion Sales</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Promotion Sales]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Promotion Sales</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Promotion Sales Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Sales Count</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Sales Count]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Sales Count</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>2</MEASURE_AGGREGATOR>
                        <DATA_TYPE>3</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Sales Count Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Store Cost</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Store Cost]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Store Cost</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Store Cost Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Store Sales</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Store Sales]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Store Sales</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Store Sales Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Unit Sales</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Unit Sales]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Unit Sales</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Unit Sales Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>Standard</DEFAULT_FORMAT_STRING>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testMdschemaMeasures">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_MEASURES</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>Sales</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_NAME" sql:field="MEASURE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_UNIQUE_NAME" sql:field="MEASURE_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="MEASURE_CAPTION" sql:field="MEASURE_CAPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="MEASURE_GUID" sql:field="MEASURE_GUID" type="uuid"/>
                                <xsd:element name="MEASURE_AGGREGATOR" sql:field="MEASURE_AGGREGATOR" type="xsd:int"/>
                                <xsd:element name="DATA_TYPE" sql:field="DATA_TYPE" type="xsd:unsignedShort"/>
                                <xsd:element name="MEASURE_IS_VISIBLE" sql:field="MEASURE_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="LEVELS_LIST" sql:field="LEVELS_LIST" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DEFAULT_FORMAT_STRING" sql:field="DEFAULT_FORMAT_STRING" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Customer Count</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Customer Count]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Customer Count</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>0</MEASURE_AGGREGATOR>
                        <DATA_TYPE>3</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Customer Count Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Profit</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Profit]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Profit</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>127</MEASURE_AGGREGATOR>
                        <DATA_TYPE>130</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Profit Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>$#,##0.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Profit Growth</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Profit Growth]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Gewinn-Wachstum</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>127</MEASURE_AGGREGATOR>
                        <DATA_TYPE>130</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Profit Growth Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>0.0%</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Promotion Sales</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Promotion Sales]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Promotion Sales</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Promotion Sales Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Sales Count</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Sales Count]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Sales Count</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>2</MEASURE_AGGREGATOR>
                        <DATA_TYPE>3</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Sales Count Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Store Cost</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Store Cost]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Store Cost</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Store Cost Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Store Sales</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Store Sales]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Store Sales</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Store Sales Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>#,###.00</DEFAULT_FORMAT_STRING>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <MEASURE_NAME>Unit Sales</MEASURE_NAME>
                        <MEASURE_UNIQUE_NAME>[Measures].[Unit Sales]</MEASURE_UNIQUE_NAME>
                        <MEASURE_CAPTION>Unit Sales</MEASURE_CAPTION>
                        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
                        <DATA_TYPE>5</DATA_TYPE>
                        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
                        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time].[Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
                        <DESCRIPTION>Sales Cube - Unit Sales Member</DESCRIPTION>
                        <DEFAULT_FORMAT_STRING>Standard</DEFAULT_FORMAT_STRING>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test14">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_LEVELS</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>This restriction should never match.</CUBE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="DIMENSION_UNIQUE_NAME" sql:field="DIMENSION_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="HIERARCHY_UNIQUE_NAME" sql:field="HIERARCHY_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="LEVEL_NAME" sql:field="LEVEL_NAME" type="xsd:string"/>
                                <xsd:element name="LEVEL_UNIQUE_NAME" sql:field="LEVEL_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="LEVEL_GUID" sql:field="LEVEL_GUID" type="uuid"/>
                                <xsd:element name="LEVEL_CAPTION" sql:field="LEVEL_CAPTION" type="xsd:string"/>
                                <xsd:element name="LEVEL_NUMBER" sql:field="LEVEL_NUMBER" type="xsd:unsignedInt"/>
                                <xsd:element name="LEVEL_CARDINALITY" sql:field="LEVEL_CARDINALITY" type="xsd:unsignedInt"/>
                                <xsd:element name="LEVEL_TYPE" sql:field="LEVEL_TYPE" type="xsd:int"/>
                                <xsd:element name="CUSTOM_ROLLUP_SETTINGS" sql:field="CUSTOM_ROLLUP_SETTINGS" type="xsd:int"/>
                                <xsd:element name="LEVEL_UNIQUE_SETTINGS" sql:field="LEVEL_UNIQUE_SETTINGS" type="xsd:int"/>
                                <xsd:element name="LEVEL_IS_VISIBLE" sql:field="LEVEL_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test15">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_LEVELS</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>Sales</CUBE_NAME>
          <HIERARCHY_UNIQUE_NAME>[Time]</HIERARCHY_UNIQUE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="DIMENSION_UNIQUE_NAME" sql:field="DIMENSION_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="HIERARCHY_UNIQUE_NAME" sql:field="HIERARCHY_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="LEVEL_NAME" sql:field="LEVEL_NAME" type="xsd:string"/>
                                <xsd:element name="LEVEL_UNIQUE_NAME" sql:field="LEVEL_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="LEVEL_GUID" sql:field="LEVEL_GUID" type="uuid"/>
                                <xsd:element name="LEVEL_CAPTION" sql:field="LEVEL_CAPTION" type="xsd:string"/>
                                <xsd:element name="LEVEL_NUMBER" sql:field="LEVEL_NUMBER" type="xsd:unsignedInt"/>
                                <xsd:element name="LEVEL_CARDINALITY" sql:field="LEVEL_CARDINALITY" type="xsd:unsignedInt"/>
                                <xsd:element name="LEVEL_TYPE" sql:field="LEVEL_TYPE" type="xsd:int"/>
                                <xsd:element name="CUSTOM_ROLLUP_SETTINGS" sql:field="CUSTOM_ROLLUP_SETTINGS" type="xsd:int"/>
                                <xsd:element name="LEVEL_UNIQUE_SETTINGS" sql:field="LEVEL_UNIQUE_SETTINGS" type="xsd:int"/>
                                <xsd:element name="LEVEL_IS_VISIBLE" sql:field="LEVEL_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Time]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Time]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>Year</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Time].[Year]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>Year</LEVEL_CAPTION>
                        <LEVEL_NUMBER>0</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>2</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>20</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>1</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Time Hierarchy - Year Level</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Time]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Time]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>Quarter</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Time].[Quarter]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>Quarter</LEVEL_CAPTION>
                        <LEVEL_NUMBER>1</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>8</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>68</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>0</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Time Hierarchy - Quarter Level</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Time]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Time]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>Month</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Time].[Month]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>Month</LEVEL_CAPTION>
                        <LEVEL_NUMBER>2</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>24</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>132</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>0</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Time Hierarchy - Month Level</DESCRIPTION>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test16">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
     />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>MDSCHEMA_LEVELS</RequestType>
      <Restrictions>
        <RestrictionList>
          <CUBE_NAME>Sales</CUBE_NAME>
          <HIERARCHY_UNIQUE_NAME>[Customers]</HIERARCHY_UNIQUE_NAME>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
                                <xsd:element name="DIMENSION_UNIQUE_NAME" sql:field="DIMENSION_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="HIERARCHY_UNIQUE_NAME" sql:field="HIERARCHY_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element name="LEVEL_NAME" sql:field="LEVEL_NAME" type="xsd:string"/>
                                <xsd:element name="LEVEL_UNIQUE_NAME" sql:field="LEVEL_UNIQUE_NAME" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="LEVEL_GUID" sql:field="LEVEL_GUID" type="uuid"/>
                                <xsd:element name="LEVEL_CAPTION" sql:field="LEVEL_CAPTION" type="xsd:string"/>
                                <xsd:element name="LEVEL_NUMBER" sql:field="LEVEL_NUMBER" type="xsd:unsignedInt"/>
                                <xsd:element name="LEVEL_CARDINALITY" sql:field="LEVEL_CARDINALITY" type="xsd:unsignedInt"/>
                                <xsd:element name="LEVEL_TYPE" sql:field="LEVEL_TYPE" type="xsd:int"/>
                                <xsd:element name="CUSTOM_ROLLUP_SETTINGS" sql:field="CUSTOM_ROLLUP_SETTINGS" type="xsd:int"/>
                                <xsd:element name="LEVEL_UNIQUE_SETTINGS" sql:field="LEVEL_UNIQUE_SETTINGS" type="xsd:int"/>
                                <xsd:element name="LEVEL_IS_VISIBLE" sql:field="LEVEL_IS_VISIBLE" type="xsd:boolean"/>
                                <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Customers]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Customers]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>(All)</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Customers].[(All)]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>(All)</LEVEL_CAPTION>
                        <LEVEL_NUMBER>0</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>1</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>1</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>3</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Customers Hierarchy - (All) Level</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Customers]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Customers]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>Country</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Customers].[Country]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>Country</LEVEL_CAPTION>
                        <LEVEL_NUMBER>1</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>3</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>0</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>1</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Customers Hierarchy - Country Level</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Customers]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Customers]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>State Province</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Customers].[State Province]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>State Province</LEVEL_CAPTION>
                        <LEVEL_NUMBER>2</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>13</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>0</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>1</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Customers Hierarchy - State Province Level</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Customers]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Customers]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>City</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Customers].[City]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>City</LEVEL_CAPTION>
                        <LEVEL_NUMBER>3</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>109</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>0</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>0</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Customers Hierarchy - City Level</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <SCHEMA_NAME>FoodMart</SCHEMA_NAME>
                        <CUBE_NAME>Sales</CUBE_NAME>
                        <DIMENSION_UNIQUE_NAME>[Customers]</DIMENSION_UNIQUE_NAME>
                        <HIERARCHY_UNIQUE_NAME>[Customers]</HIERARCHY_UNIQUE_NAME>
                        <LEVEL_NAME>Name</LEVEL_NAME>
                        <LEVEL_UNIQUE_NAME>[Customers].[Name]</LEVEL_UNIQUE_NAME>
                        <LEVEL_CAPTION>Name</LEVEL_CAPTION>
                        <LEVEL_NUMBER>4</LEVEL_NUMBER>
                        <LEVEL_CARDINALITY>10281</LEVEL_CARDINALITY>
                        <LEVEL_TYPE>0</LEVEL_TYPE>
                        <CUSTOM_ROLLUP_SETTINGS>0</CUSTOM_ROLLUP_SETTINGS>
                        <LEVEL_UNIQUE_SETTINGS>1</LEVEL_UNIQUE_SETTINGS>
                        <LEVEL_IS_VISIBLE>true</LEVEL_IS_VISIBLE>
                        <DESCRIPTION>Sales Cube - Customers Hierarchy - Name Level</DESCRIPTION>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test17">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
     />
  </Header>
  <Body>
    <Execute xmlns="urn:schemas-microsoft-com:xml-analysis">
      <Command>
        <Statement>SELECT HIERARCHIZE({[Measures].[Unit Sales]}) DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON COLUMNS , HIERARCHIZE({[Time].[Year].members}) DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS , HIERARCHIZE({DrillDownLevel({[Customers].[All Customers]})}) DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON PAGES  FROM [Sales]</Statement>
      </Command>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Format>Tabular</Format>
          <Content>SchemaData</Content>
        </PropertyList>
      </Properties>
    </Execute>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:ExecuteResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element minOccurs="0" name="_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_" sql:field="[Customers].[Country].[MEMBER_CAPTION]" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_" sql:field="[Customers].[Country].[MEMBER_UNIQUE_NAME]" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_" sql:field="[Time].[Year].[MEMBER_CAPTION]" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_" sql:field="[Time].[Year].[MEMBER_UNIQUE_NAME]" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_" sql:field="[Measures].[Unit Sales]"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1997</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1997]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_ xsi:type="xsd:double">266773</_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_>
                    </row>
                    <row>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1998</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1998]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                    </row>
                    <row>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>Canada</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Customers].[Canada]</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1997</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1997]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_ xsi:type="xsd:double">266773</_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_>
                    </row>
                    <row>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>Canada</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Customers].[Canada]</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1998</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1998]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                    </row>
                    <row>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>Mexico</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Customers].[Mexico]</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1997</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1997]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_ xsi:type="xsd:double">266773</_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_>
                    </row>
                    <row>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>Mexico</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Customers].[Mexico]</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1998</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1998]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                    </row>
                    <row>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>USA</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Customers].[USA]</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1997</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1997]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_ xsi:type="xsd:double">266773</_x005b_Measures_x005d_._x005b_Unit_x0020_Sales_x005d_>
                    </row>
                    <row>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>USA</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Customers].[USA]</_x005b_Customers_x005d_._x005b_Country_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>1998</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_CAPTION_x005d_>
                        <_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>[Time].[1998]</_x005b_Time_x005d_._x005b_Year_x005d_._x005b_MEMBER_UNIQUE_NAME_x005d_>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:ExecuteResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="test18">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <EndSession
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Execute xmlns="urn:schemas-microsoft-com:xml-analysis">
      <Command>
        <Statement />
      </Command>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
        </PropertyList>
      </Properties>
    </Execute>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:ExecuteResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root"/>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:ExecuteResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testExpect01">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header />
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_DATASOURCES</RequestType>
      <Restrictions />
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="DataSourceName" sql:field="DataSourceName" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DataSourceDescription" sql:field="DataSourceDescription" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="URL" sql:field="URL" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DataSourceInfo" sql:field="DataSourceInfo" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="ProviderName" sql:field="ProviderName" type="xsd:string"/>
                                <xsd:element maxOccurs="unbounded" name="ProviderType" sql:field="ProviderType" type="xsd:string"/>
                                <xsd:element name="AuthenticationMode" sql:field="AuthenticationMode" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <DataSourceName>FoodMart</DataSourceName>
                        <DataSourceDescription>Mondrian FoodMart data source</DataSourceDescription>
                        <URL>http://localhost:8080/mondrian/xmla</URL>
                        <DataSourceInfo>${data.source.info.response}</DataSourceInfo>
                        <ProviderName>Mondrian</ProviderName>
                        <ProviderType>MDP</ProviderType>
                        <AuthenticationMode>Unauthenticated</AuthenticationMode>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testExpect02">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <BeginSession
        mustUnderstand="1"
        xmlns="urn:schemas-microsoft-com:xml-analysis"
    />
    <NamespaceCompatibility
        xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla"
        mustUnderstand="0"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_SCHEMA_ROWSETS</RequestType>
      <Restrictions />
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Catalog>FoodMart</Catalog>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="SchemaName" sql:field="SchemaName" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="SchemaGuid" sql:field="SchemaGuid" type="uuid"/>
                                <xsd:element maxOccurs="unbounded" minOccurs="0" name="Restrictions" sql:field="Restrictions">
                                    <xsd:complexType>
                                        <xsd:sequence>
                                            <xsd:element name="Name" sql:field="Name" type="xsd:string"/>
                                            <xsd:element name="Type" sql:field="Type" type="xsd:string"/>
                                        </xsd:sequence>
                                    </xsd:complexType>
                                </xsd:element>
                                <xsd:element name="Description" sql:field="Description" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <SchemaName>DBSCHEMA_CATALOGS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Identifies the physical attributes associated with catalogs accessible from the provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_COLUMNS</SchemaName>
                        <Restrictions>
                            <Name>TABLE_CATALOG</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_SCHEMA</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>COLUMN_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_PROVIDER_TYPES</SchemaName>
                        <Restrictions>
                            <Name>DATA_TYPE</Name>
                            <Type>xsd:unsignedShort</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>BEST_MATCH</Name>
                            <Type>xsd:boolean</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_SCHEMATA</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_OWNER</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_TABLES</SchemaName>
                        <Restrictions>
                            <Name>TABLE_CATALOG</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_SCHEMA</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_TYPE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DBSCHEMA_TABLES_INFO</SchemaName>
                        <Restrictions>
                            <Name>TABLE_CATALOG</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_SCHEMA</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TABLE_TYPE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_DATASOURCES</SchemaName>
                        <Restrictions>
                            <Name>DataSourceName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>URL</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ProviderName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ProviderType</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>AuthenticationMode</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns a list of XML for Analysis data sources available on the server or Web Service.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_ENUMERATORS</SchemaName>
                        <Restrictions>
                            <Name>EnumName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns a list of names, data types, and enumeration values for enumerators supported by the provider of a specific data source.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_KEYWORDS</SchemaName>
                        <Restrictions>
                            <Name>Keyword</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns an XML list of keywords reserved by the provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_LITERALS</SchemaName>
                        <Restrictions>
                            <Name>LiteralName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns information about literals supported by the provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_PROPERTIES</SchemaName>
                        <Restrictions>
                            <Name>PropertyName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns a list of information and values about the requested properties that are supported by the specified data source provider.</Description>
                    </row>
                    <row>
                        <SchemaName>DISCOVER_SCHEMA_ROWSETS</SchemaName>
                        <Restrictions>
                            <Name>SchemaName</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description>Returns the names, values, and other information of all supported RequestType enumeration values.</Description>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_ACTIONS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ACTION_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>COORDINATE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>COORDINATE_TYPE</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_CUBES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_TYPE</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_DIMENSIONS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_FUNCTIONS</SchemaName>
                        <Restrictions>
                            <Name>FUNCTION_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>ORIGIN</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>INTERFACE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LIBRARY_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_HIERARCHIES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_LEVELS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_MEASURES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEASURE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEASURE_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_MEMBERS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_NUMBER</Name>
                            <Type>xsd:unsignedInt</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_TYPE</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_CAPTION</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>TREE_OP</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_PROPERTIES</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>DIMENSION_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>HIERARCHY_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>LEVEL_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>MEMBER_UNIQUE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>PROPERTY_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>PROPERTY_TYPE</Name>
                            <Type>xsd:short</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>PROPERTY_CONTENT_TYPE</Name>
                            <Type>xsd:short</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                    <row>
                        <SchemaName>MDSCHEMA_SETS</SchemaName>
                        <Restrictions>
                            <Name>CATALOG_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCHEMA_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>CUBE_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SET_NAME</Name>
                            <Type>xsd:string</Type>
                        </Restrictions>
                        <Restrictions>
                            <Name>SCOPE</Name>
                            <Type>xsd:int</Type>
                        </Restrictions>
                        <Description/>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testExpect03">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DBSCHEMA_CATALOGS</RequestType>
      <Restrictions />
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
                                <xsd:element name="ROLES" sql:field="ROLES" type="xsd:string"/>
                                <xsd:element minOccurs="0" name="DATE_MODIFIED" sql:field="DATE_MODIFIED" type="xsd:dateTime"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>FoodMart</CATALOG_NAME>
                        <DESCRIPTION>No description available</DESCRIPTION>
                        <ROLES>California manager,No HR Cube</ROLES>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testExpect04">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_PROPERTIES</RequestType>
      <Restrictions>
        <RestrictionList>
          <PropertyName>ProviderVersion</PropertyName>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="PropertyName" sql:field="PropertyName" type="xsd:string"/>
                                <xsd:element name="PropertyDescription" sql:field="PropertyDescription" type="xsd:string"/>
                                <xsd:element name="PropertyType" sql:field="PropertyType" type="xsd:string"/>
                                <xsd:element name="PropertyAccessType" sql:field="PropertyAccessType" type="xsd:string"/>
                                <xsd:element name="IsRequired" sql:field="IsRequired" type="xsd:boolean"/>
                                <xsd:element name="Value" sql:field="Value" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <PropertyName>ProviderVersion</PropertyName>
                        <PropertyDescription>The version of the Mondrian XMLA Provider</PropertyDescription>
                        <PropertyType>string</PropertyType>
                        <PropertyAccessType>Read</PropertyAccessType>
                        <IsRequired>false</IsRequired>
                        <Value>${mondrianVersion}</Value>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testExpect05">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <XA:Session
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns:XA="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
      <RequestType>DISCOVER_PROPERTIES</RequestType>
      <Restrictions>
        <RestrictionList>
          <PropertyName>Catalog</PropertyName>
        </RestrictionList>
      </Restrictions>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
          <Content>SchemaData</Content>
          <Format>Tabular</Format>
        </PropertyList>
      </Properties>
    </Discover>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:DiscoverResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:simpleType name="uuid">
                            <xsd:restriction base="xsd:string">
                                <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
                            </xsd:restriction>
                        </xsd:simpleType>
                        <xsd:complexType name="row">
                            <xsd:sequence>
                                <xsd:element name="PropertyName" sql:field="PropertyName" type="xsd:string"/>
                                <xsd:element name="PropertyDescription" sql:field="PropertyDescription" type="xsd:string"/>
                                <xsd:element name="PropertyType" sql:field="PropertyType" type="xsd:string"/>
                                <xsd:element name="PropertyAccessType" sql:field="PropertyAccessType" type="xsd:string"/>
                                <xsd:element name="IsRequired" sql:field="IsRequired" type="xsd:boolean"/>
                                <xsd:element name="Value" sql:field="Value" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <PropertyName>Catalog</PropertyName>
                        <PropertyDescription>When establishing a session with an Analysis Services instance to send an XMLA command, this property is equivalent to the OLE DB property, DBPROP_INIT_CATALOG. When you set this property during a session to change the current database for the session, this property is equivalent to the OLE DB property, DBPROP_CURRENTCATALOG. The default value for this property is an empty string.</PropertyDescription>
                        <PropertyType>string</PropertyType>
                        <PropertyAccessType>ReadWrite</PropertyAccessType>
                        <IsRequired>false</IsRequired>
                        <Value/>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testExpect06">
        <Resource name="request">
            <![CDATA[
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
  <Header>
    <EndSession
        mustUnderstand="1"
        SessionId="${session.id}"
        xmlns="urn:schemas-microsoft-com:xml-analysis"
    />
  </Header>
  <Body>
    <Execute xmlns="urn:schemas-microsoft-com:xml-analysis">
      <Command>
        <Statement />
      </Command>
      <Properties>
        <PropertyList>
          <LocaleIdentifier>1033</LocaleIdentifier>
          <DataSourceInfo>FoodMart</DataSourceInfo>
        </PropertyList>
      </Properties>
    </Execute>
  </Body>
</Envelope>
]]>
        </Resource>
        <Resource name="response">
            <![CDATA[<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <Session SessionId="${session.id}" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <cxmla:ExecuteResponse xmlns:cxmla="urn:schemas-microsoft-com:xml-analysis">
            <cxmla:return>
                <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <xsd:element name="root"/>
                    </xsd:schema>
                </root>
            </cxmla:return>
        </cxmla:ExecuteResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
</Root>
