[Mondrian] XML/A DISCOVER_DATASOURCES returning "Body has 0 Discover Requests and 0 Execute Requests"
Luca Morandini
luca.morandini1 at gmail.com
Sat Aug 20 01:08:00 EDT 2016
Folks,
I have installed Mondrian on an Ubuntu VM, and JPivot works fine with both
FoodMart and a cube I set up myself.
However, when I try XML/A with a DISCOVER_DATASOURCES, Mondrian refuses to play
ball, uttering: "Invalid XML/A message: Body has 0 Discover Requests and 0 Execute
Requests'
The requests is:
curl -XPOST "http://vh-1-apiserver:8080/mondrian/xmla.jsp" --header
"Content-Type:text/xml" --data @./post.xml
While the payload (post.xml) is:
<?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>DISCOVER_DATASOURCES</RequestType>
<Restrictions>
</Restrictions>
<RestrictionList>
</RestrictionList>
<Properties>
<PropertyList>
<Format>Tabular</Format>
</PropertyList>
</Properties>
</Discover>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Can someone shed some light on this?
Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini
LinkedIn: https://www.linkedin.com/in/lmorandini
More information about the Mondrian
mailing list