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.
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...
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"});
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"})...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.