SDK sample to retrieve information from IBM Cognos Configuration.

Technote (troubleshooting)


Problem(Abstract)

Description: How do you retrieve information from Cognos Configuration using the SDK? Solution: The sample is written in Java and assumes anonymous logon is enabled in Cognos Configuration. Extract the attached java sample. In ReportNet for example: Modify configurationManager.java and ensure that the variable reportNetEndPoint is correct, i.e. - this is your URL. Compile and run the class. The SDK methods used in this sample are -

  • getConfiguration
  • getServerLocale
The SDK classes used in this sample are -
  • ConfigurationData
  • Locale
Related documents:

KB#1004683

Resolving the problem

The sample is written in Java and assumes anonymous logon is enabled in Cognos Configuration.

Extract the attached java sample.

In ReportNet for example:

Modify configurationManager.java and ensure that the variable reportNetEndPoint is correct, i.e. - this is your URL.

Compile and run the class.

The SDK methods used in this sample are -

  • getConfiguration
  • getServerLocale

The SDK classes used in this sample are -

  • ConfigurationData
  • Locale

VERSIONS:
/cognos10_1 = Cognos 10.1
/cognos10_2 = Cognos 10.2

Related information

KB#1004683

Cross reference information
Segment Product Component Platform Version Edition
Business Analytics Cognos 8 Business Intelligence Software Development Kit
Business Analytics Cognos ReportNet ReportNet

Historical Number

1004756

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Cognos Business Intelligence
Software Development Kit

Software version:

8.4, 8.4.1, 10.1, 10.1.1, 10.2

Operating system(s):

AIX, HP Itanium, HP-UX, Linux, Solaris, Windows

Reference #:

1335110

Modified date:

2013-06-28

Translate my page

Machine Translation

Content navigation