Author Topic: ReportNet code (sdk java) in Cognos 8  (Read 6326 times)

Offline Dani

  • Associate
  • **
  • Posts: 4
  • Forum Citizenship: +0/-0
ReportNet code (sdk java) in Cognos 8
« on: 28 Feb 2007 04:49:07 pm »
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
---------

Offline Dani

  • Associate
  • **
  • Posts: 4
  • Forum Citizenship: +0/-0
Re: ReportNet code (sdk java) in Cognos 8
« Reply #1 on: 28 Feb 2007 05:20:20 pm »
Addition to above email.
++++

the code showing following runtime error:

CM-REQ-4342 The client did something wrong.

Thanks

Dani

Offline COGNOiSe administrator

  • Administrator
  • Statesman
  • ******
  • Posts: 677
  • Forum Citizenship: +31/-8
    • BrightStar Partners, Inc
Re: ReportNet code (sdk java) in Cognos 8
« Reply #2 on: 29 Mar 2007 04:13:19 am »
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.

Offline n_ramesh_in

  • Full Member
  • ***
  • Posts: 12
  • Forum Citizenship: +0/-0
Re: ReportNet code (sdk java) in Cognos 8
« Reply #3 on: 14 Jun 2007 09:15:52 pm »
hey

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

ramesh :)

Offline n_ramesh_in

  • Full Member
  • ***
  • Posts: 12
  • Forum Citizenship: +0/-0
Re: ReportNet code (sdk java) in Cognos 8
« Reply #4 on: 14 Jun 2007 09:20:49 pm »
we are using the following jars ,

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

Offline Dani

  • Associate
  • **
  • Posts: 4
  • Forum Citizenship: +0/-0
Re: ReportNet code (sdk java) in Cognos 8
« Reply #5 on: 08 Aug 2007 09:02:20 pm »
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


Offline akoymakoy

  • Associate
  • **
  • Posts: 2
  • Forum Citizenship: +0/-0
Re: ReportNet code (sdk java) in Cognos 8
« Reply #6 on: 30 Oct 2009 09:56:18 am »
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

Offline kankipati05

  • Associate
  • **
  • Posts: 1
  • Forum Citizenship: +0/-0
Re: ReportNet code (sdk java) in Cognos 8
« Reply #7 on: 11 Jan 2010 11:28:02 pm »
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