If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Querying metadata service

Started by Greg, 11 Jun 2013 09:24:51 AM

Previous topic - Next topic

Greg

I'm trying to get a list of schemas for a data source connection so I'm issuing the following query to the metadata service:


<relmd:browseMetadataRequest xmlns:relmd="http://www.ibm.com/xmlns/prod/cognos/relmd/1/0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<relmd:contentStoreDatabaseConnection relmd:dataSourceName="cgawusr"/>
<relmd:schemasBrowse/>
</relmd:browseMetadataRequest>


I call connection.getMetadataService().queryMetadata( schemaQueryXML );

This throws an exception with the following message:
BME-AS-0022 Model was not opened

What does this mean?  What model do I have to open and how do I open it?