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

NameSpace Id for Administrator user

Started by jithin, 28 Sep 2013 01:43:00 PM

Previous topic - Next topic

jithin

Hi,
I'm very new IBM Cognos. I have installed the developer edition of Cognos 10 on my server. I wanted to try out different features that cognos java sdk provides but have run into a road block in the very first step.
Was following the tutorial at
http://www.ibm.com/developerworks/data/library/cognos/development/how_to/page565.html
however I'm not able to pass the right namespace id
<credential>
         <namespace>namespaceID</namespace>
         <username>user<username>
         <password>pwd</password>   
</credential>
as specified.
I get an exception which clearly says the namespace is not valid.
Tired a lot so as to get the namespace for the user Administrator but no luck
From the ui I see two namespaces (Congnos and Developer ...)
Have tried passing <namespace>congnos</namespace>
but it fails.
Where will I get the right namespace id for my administrator user ? Is this the only way to get connection to server?
Also since I'm using developer express edition I don't see the screenshots attached on tutorial.
Thank you to have helped
Regards,
Jithin Mohanan

sir_jeroen

You can't logon to the Cognos namespace (btw the ID for the Cognos namespace is: : ), you must logon to your external namespace e.g. ActiveDirectory.
and you must enter the namespace ID (NOT namespacename) which you find in Cognos configuration

jithin

Hi,
After a lot of trail and error.
The namespace which worked was DeveloperEdition.
Following xml worked :
   credentialXml.append("<credential>");
   credentialXml.append("<namespace>DeveloperEdition</namespace>");
   credentialXml.append("<username>Administrator</username>");
   credentialXml.append("<password></password>");
   credentialXml.append("</credential>");

I was able to query the content store pull out model.xml and some report xml specifications.

From what I have understood the namespace for is user is what we see
IBM Cognos Administration -->Security-->User,Groups and Roles

Under that the group name under which your user belongs to is your namepace.

Kindly correct me if I am wrong.

Also just to add a note if anonymous  login is enabled then we can by pass this step and start querying the datastore through the sdk
with out  a  logon request.

Regards,
Jithin Mohanan