Topic
  • 1 reply
  • Latest Post - ‏2013-10-19T06:32:15Z by JithinMohanan
JithinMohanan
JithinMohanan
2 Posts

Pinned topic NameSpace Id for Administrator user

‏2013-09-28T17:53:23Z |

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

  • JithinMohanan
    JithinMohanan
    2 Posts

    Re: NameSpace Id for Administrator user

    ‏2013-10-19T06:32:15Z  

    Found it out. It happens to be 

    DeveloperEdition

    StringBuilder credentialXml = new StringBuilder();
    credentialXml.append("<credential>");
    credentialXml.append("<namespace>DeveloperEdition</namespace>");
    credentialXml.append("<username>Administrator</username>");
    credentialXml.append("<password></password>");
    credentialXml.append("</credential>");
     

    This request credential xml did a successful logon through the sdk.

     

    Regards,

    Jithin Mohanan