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

ReportNet code (sdk java) in Cognos 8

Started by Dani, 28 Feb 2007 04:49:07 AM

Previous topic - Next topic

Dani

hi,
i am new in cognos 8.
ReportNet code is not working (login problem etc.) in Cognos 8.
how many or which .jar files are need to run a program in cognos 8 java sdk ?
it is only .jar files problem or have to change import.
for exampleÃ,  i was using with ReportNet
import com.cognos.developer.schemas.bibus._2.*;
and following .jar files.
can anyone help me please ? any example ?
Thanks in advance
Dani
----------
ReportNet .jar files.
---------
axis.jar
axisReportNetClient.jar
commons-discovery.jar
commons-logging.jar
dom4j.jar
jaxrpc.jar
jstl.jar
saaj.jar
standard.jar
wsdl4j.jar
xalan.jar
xercesImpl.jar
xml-apis.jar
---------

Dani

Addition to above email.
++++

the code showing following runtime error:

CM-REQ-4342 The client did something wrong.

Thanks

Dani

COGNOiSe administrator

I'd have to guess that you have to point your JAVA code at a dispatcher instead of the gateway. Occassionally the gateway, especially when CAF is enabled, might genrate this type of error.

Also, Cognos 8 is using BIBUS 3, I think.

n_ramesh_in

hey

change this statement import com.cognos.developer.schemas.bibus._2.*;
to import com.cognos.developer.schemas.bibus._3.*;....it will work :)

ramesh :)

n_ramesh_in

we are using the following jars ,

1.axis.jar
2.axisCognosClient.jar
3.axisReportNetClient.jar
4.cognos-axis.jar
5.cognosClient.jar 

Dani

hi,
thanks Admin and Ramesh.
I am pointing my java code at dispatcher, that was not a problem.
The Problem was "bibus.2" and additional .jar files.
As Ramesh mentioned after using

-import com.cognos.developer.schemas.bibus._3.*;

-and required .rar files

now the program is running.
Thanks and greetings
Dani


akoymakoy

Hi I'm experiencing the same problem as TS-Dani.

import com.cognos.developer.schemas.bibus._3.BaseClass;
import com.cognos.developer.schemas.bibus._3.BaseClassArrayProp;
import com.cognos.developer.schemas.bibus._3.ContentManagerService_Port;
import com.cognos.developer.schemas.bibus._3.Group;
import com.cognos.developer.schemas.bibus._3.MultilingualToken;
import com.cognos.developer.schemas.bibus._3.PropEnum;
import com.cognos.developer.schemas.bibus._3.QueryOptions;
import com.cognos.developer.schemas.bibus._3.ReportService_Port;
import com.cognos.developer.schemas.bibus._3.SearchPathMultipleObject;
import com.cognos.developer.schemas.bibus._3.Sort;
import com.cognos.developer.schemas.bibus._3.UpdateOptions;

and have the jar files that ramesh said:
1.axis.jar
2.axisCognosClient.jar
3.axisReportNetClient.jar
4.cognos-axis.jar
5.cognosClient.jar

what could possibly be wrong i get the same error

kankipati05

Hi,

We dont have the cognos sdk installed on our server. We are missing some of the jars. If you any one can send the jar to me that will be great.

1.axis.jar
2.axisCognosClient.jar
3.axisReportNetClient.jar
4.cognos-axis.jar
5.cognosClient.jar

Thanks