XMLA发现未解析结果错误(在Windows 7上的Mondrian中)

时间:2012-09-13 12:32:28

标签: mondrian xmla

我设置了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>

1 个答案:

答案 0 :(得分:1)

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

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

就是这样。祝你好运