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

Applications created using SDK

Started by Rajaggopal, 23 Jun 2009 07:31:17 AM

Previous topic - Next topic

Rajaggopal

We have our cognos server installed in a remote machine and we would like to access Cognos components using SDK applications that we have created. But we are getting connection failed error when we try to access the server. Do we have to install SDK in the server for our apps to be able to access the server in remote machine???

kulkarni

Afaik, the answer is yes - you need to install on server and client PC

Rajaggopal

But i dont understand the logic... can someone please explain why we need to have the SDK installed when all we do is run an executable file that accesses Cognos... Normal Java applications dont work that way right... i thought SDK is needed only for developing applications and are not necessarily needed to run them...

kulkarni

From Cognos SDK Installation and Config Guide
"... Install the SDK files from the IBM Cognos 8 SDK CD on every computer where SDK applications are developed, and in the same installation location as IBM Cognos 8. ..."

There is also a sentence which says
"...  After you successfully install and configure the SDK, it will enable you to fully automate all IBM Cognos 8 functionality: data modeling, report execution and viewing, authoring, Web application integration, administration, and configuration ..."

I believe some functionality in the core solution of IBM Cognos 8 do not open up for developers until SDK is installed. I believe this has something to do with licensing. You need to purchase SDK license in order to install and then work on it. This way it restricts only certain licenses customers to use the APIs and not everyone.

If this wasn't the case, one could develop SDK apps just by having couple of dlls on one's pc.

Rajaggopal

Quote from: kulkarni on 24 Jun 2009 02:09:17 PM
From Cognos SDK Installation and Config Guide
"... Install the SDK files from the IBM Cognos 8 SDK CD on every computer where SDK applications are developed, and in the same installation location as IBM Cognos 8. ..."

So i guess only on the cognos server and the systems where we are going to DEVELOP SDK apps we need to install SDK... so i can have my fingers crossed and not have to install SDK on systems from where our app will only be run... hope it works for me... thanks for the explanation kulkarni... :)

xiska

Hi

There is a little misunderstanding in this thread.

Question #1: Do we have to install SDK in the server for our apps to be able to access the server in remote machine???

You need to now that there are 2 different types of applications which install different programs.

One Type is the extended application - commonly a jsp, asp application, which runs on the appliaction server - to be more precise within the report service. If you create portal pages you may see the choice. This application needs to be installed on at least one server in the same directory. All conficurations point to the same http....applications.xml file.
This type is used to automate some workflows directly on the server. In my case a permission simulation, portal trees, mass user settings ....

The other application type is a jar or exe file outside of the server which uses the jar or dll files out of the sdk directory.
In this case you may install it or copy the libraries to any machine you want.

The second case connects the server via http or https (do not forget to import the certificate) using a axis, formaly known as soap, communication protocol.

(Question) #2: From Cognos SDK Installation and Config Guide ...
This has nothing to do with licences - all access restrictions are made by the memberships of roles and groups.

(Question) #3: If this wasn't the case, one could develop SDK apps just by having couple of dlls on one's pc.
.NET: You can copy the dll, register it with regsvr32.exe and it will work.
Java: Add the libraries into your classpath and it will run as well.

Note:
It is easier to create a communication with the http://...:9300/p2pd... compared with the http://...:80/../cognos.cgi.