Есть ли какая-либо документация о том, как сформулировать запрос XMLA?ICCube XMLA request documentation
icCube XMLA конечная точка для меня: http://localhost:8282/icCube/xmla
Я хочу, чтобы сделать демонстрационную вызов к конечной точке с помощью почтальона или что-то подобное, но я не уверен, какие параметры передать в запросе SOAP.
Я пробовал:
<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:schemas-microsoft-com:xml-analysis">
<x:Header>
<urn:Session SessionId="?" mustUnderstand="?"/>
<urn:BeginSession mustUnderstand="?"/>
<urn:EndSession SessionId="?" mustUnderstand="?"/>
</x:Header>
<x:Body>
<urn:Execute>
<Command>
<Statement>
SELECT
{[Customers].[Geography].[All Regions].[North America].[Canada].[Ottawa]} on COLUMNS,
{[Measures].[Count]} on ROWS
FROM [Sales]
</Statement>
</Command>
<Properties/>
</urn:Execute>
</x:Body>
</x:Envelope>
И я получаю пустой ответ:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<Session SessionId="1hb96vaa7acol14bj97tyokd4f" xmlns="urn:schemas-microsoft-com:xml-analysis"/>
</soap:Header>
<soap:Body>
<ExecuteResponse xmlns="urn:schemas-microsoft-com:xml-analysis">
<return>
<root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"/>
</return>
</ExecuteResponse>
</soap:Body>
</soap:Envelope>
Кто-нибудь знает, где я могу найти больше информации о том, как сделать этот запрос? Документация icCube по адресу http://www.iccube.com/support/documentation/user_guide/running_iccube/xmla.php в основном отсутствует.
Заранее благодарю за любую помощь.
Ваш запрос XMLA в порядке, просто пуст, попробуйте с допустимым MDX, который вы можете проверить в IDE icCube. – ic3
Этот же MDX возвращает непустой результат в IDE icCube. – Ryan27
Я решил проблему, добавив тег свойств с свойством propertyList и catalog. – Ryan27