Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by CognosHelp

  1. CognosHelp

    ERROR in reading Excel file USING CONOS ReportNet API

    Hi all, With mentioning XLS is working. But i think the probelm is with decoding format. I am doing for pDF like below mentioned byte [] binaryOutput = Base64.decode(rsr.getOutputPages()[0]); Please anyone could tell me that how to reterive the output for Excel.
  2. CognosHelp

    ERROR in reading Excel file USING CONOS ReportNet API

    I am getting the error , when i run the line rsr = oCrn.execute(reportPath,params,ro); Its saying "client Error" Caused by: Client Error at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260) at...
  3. CognosHelp

    ERROR in reading Excel file USING CONOS ReportNet API

    Thanks for your response. I have to get the format of Excel 2000 Single Sheet OR Excel 2000. In that code if u try to give as below , i am getting error. Its working fine for PDF format. rosa.setValue(new String[] {"Excel 2000 Single Sheet"}); OR rosa.setValue(new String[] {"Excel 2000"});
  4. CognosHelp

    ERROR in reading Excel file USING CONOS ReportNet API

    I am giving elaborated code.. RunOptionStringArray rosa = new RunOptionStringArray(); rosa.setName(RunOptionEnum.outputFormat); if ((xPath.equals("xxx_xls")) || (xPath.equals("yyy_xls"))){ { rosa.setValue(new String[] {"PDF"})...
  5. CognosHelp

    ERROR in reading Excel file USING CONOS ReportNet API

    Hi , I am using ReportnetAPI to login into Cognos sever and get the PDF or XLS file . These files will be regenrayed based on input i give.I am getting PDF file without any error. BUt i am not getting XLS in proper format. I have given the short code here. Please could someone help me on this...

Part and Inventory Search

Back
Top