<?xml version="1.0" ?>
<Root>
    <TestCase name="testDBSchemataFiltered">
        <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="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="SCHEMA_OWNER" sql:field="SCHEMA_OWNER" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <SCHEMA_OWNER/>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
        <Resource name="request">
            <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <RequestType>${request.type}</RequestType>
    <Restrictions>
      <RestrictionList>
      </RestrictionList>
    </Restrictions>
    <Properties>
      <PropertyList>
        <DataSourceInfo>${data.source.info}</DataSourceInfo>
        <Catalog>${catalog.name}</Catalog>
        <Content>${content}</Content>
      </PropertyList>
    </Properties>
  </Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testDBSchemataFilteredByRestraints">
        <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="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
                                <xsd:element name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
                                <xsd:element name="SCHEMA_OWNER" sql:field="SCHEMA_OWNER" type="xsd:string"/>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:schema>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <SCHEMA_OWNER/>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
        <Resource name="request">
            <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <RequestType>${request.type}</RequestType>
    <Restrictions>
      <RestrictionList>
          <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
      </RestrictionList>
    </Restrictions>
    <Properties>
      <PropertyList>
        <DataSourceInfo>${data.source.info}</DataSourceInfo>
        <Content>${content}</Content>
      </PropertyList>
    </Properties>
  </Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testCatalogsFiltered">
        <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="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>${catalog.name}</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>
        <Resource name="request">
            <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <RequestType>${request.type}</RequestType>
    <Restrictions>
      <RestrictionList>
      </RestrictionList>
    </Restrictions>
    <Properties>
      <PropertyList>
        <DataSourceInfo>${data.source.info}</DataSourceInfo>
        <Catalog>${catalog.name}</Catalog>
        <Content>${content}</Content>
      </PropertyList>
    </Properties>
  </Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testCatalogsFilteredByRestraints">
        <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="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>${catalog.name}</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>
        <Resource name="request">
            <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <RequestType>${request.type}</RequestType>
    <Restrictions>
      <RestrictionList>
        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
      </RestrictionList>
    </Restrictions>
    <Properties>
      <PropertyList>
        <DataSourceInfo>${data.source.info}</DataSourceInfo>
        <Content>${content}</Content>
      </PropertyList>
    </Properties>
  </Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testCubesFiltered">
        <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 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>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>HR</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>HR</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - HR Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</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>${catalog.name} Schema - Sales Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Sales 2</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 2</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Sales 2 Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Sales Ragged</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 Ragged</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Sales Ragged Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Store</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>Store</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Store Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Warehouse</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>Warehouse</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Warehouse Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Warehouse and Sales</CUBE_NAME>
                        <CUBE_TYPE>VIRTUAL 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>Warehouse and Sales</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Warehouse and Sales Cube</DESCRIPTION>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
        <Resource name="request">
            <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <RequestType>${request.type}</RequestType>
    <Restrictions>
      <RestrictionList>
      </RestrictionList>
    </Restrictions>
    <Properties>
      <PropertyList>
        <DataSourceInfo>${data.source.info}</DataSourceInfo>
        <Catalog>${catalog.name}</Catalog>
        <Content>${content}</Content>
      </PropertyList>
    </Properties>
  </Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
    <TestCase name="testCubesFilteredByRestraints">
        <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 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>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>HR</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>HR</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - HR Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</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>${catalog.name} Schema - Sales Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Sales 2</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 2</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Sales 2 Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Sales Ragged</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 Ragged</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Sales Ragged Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Store</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>Store</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Store Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Warehouse</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>Warehouse</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Warehouse Cube</DESCRIPTION>
                    </row>
                    <row>
                        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
                        <SCHEMA_NAME>${catalog.name}schema</SCHEMA_NAME>
                        <CUBE_NAME>Warehouse and Sales</CUBE_NAME>
                        <CUBE_TYPE>VIRTUAL 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>Warehouse and Sales</CUBE_CAPTION>
                        <DESCRIPTION>${catalog.name} Schema - Warehouse and Sales Cube</DESCRIPTION>
                    </row>
                </root>
            </cxmla:return>
        </cxmla:DiscoverResponse>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
        <Resource name="request">
            <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <SOAP-ENV:Body>
    <Discover xmlns="urn:schemas-microsoft-com:xml-analysis"
        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <RequestType>${request.type}</RequestType>
    <Restrictions>
      <RestrictionList>
        <CATALOG_NAME>${catalog.name}</CATALOG_NAME>
      </RestrictionList>
    </Restrictions>
    <Properties>
      <PropertyList>
        <DataSourceInfo>${data.source.info}</DataSourceInfo>
        <Content>${content}</Content>
      </PropertyList>
    </Properties>
  </Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]]>
        </Resource>
    </TestCase>
</Root>
