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?