0

我设置了 Mondrian,它工作正常,但我无法使其成为 XMLA 提供程序。

即,http://localhost:8080/mondrian工作正常,但http://localhost:8080/mondrian/xmla.jsp返回以下错误:-

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.00HSBE02</faultcode>
<faultstring>XMLA Discover unparse results error</faultstring>
<faultactor>Mondrian</faultactor>
<detail>
<XA:error>
<code>00HSBE02</code>
<desc>The Mondrian XML: In DataSources: In DataSource: Expected <ProviderName> but found <Catalogs>
</desc>
</XA:error>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
4

1 回答 1

1

请检查您的 mondrian.properties 文件或 datasources.xml 文件,然后添加标签:

<DataSourceName>Provider=Mondrian;DataSource=YourDataSourceName;</DataSourceName>

而已。祝你好运

于 2012-11-13T21:59:36.073 回答