Is there a JAVA API to generate out reports yet?

I've read all the forum information regarding a java api not being available yet. They are dated back in 2004. Is there still not one available? I need to be able to generate reports that were created with Oracle reports, but do it from a Java Application. I need some way to be able to access these reports. Is there a solution out there yet?

You can execute reports through the reports server through a database package called SRW which is nothing more than a HTTP request.
If you have a java program which can make a HTTP call you are in business.
Look at the event driven API called SRW.
Marcos

Similar Messages

  • Is there any java API throgh which My program can get harddisk,cpu ID adres

    hello
    Is there any java api throuh which i can get hard disk and processor serial numbers.
    i have already use
    process p=Runtime.getTime().exec("cmd command");
    please other than this send any java api, progamming technique that remain same on all plate forms
    advance thanks
    best regards

    >
    Is there any java api throuh which i can get hard disk and processor serial numbers.
    i have already use ..>1) What business is that information to your app.? Or to put that another way. Why do you want to know?
    2) Those words are 'Java', 'API' and 'I' (which is always upper case).
    3) One upper case letter should be used at the start of each sentence, not just once at the start of a post.

  • Is there any Java API equivalent to Javascript eval() method?

    Is there any Java API equivalent to Javascript eval() method?
    Regards
    Rakesh

    No there isn't however you can use Jython (or another scripting language of your choice) to reproduce this functionality.

  • Is there a Java API for Tree data structure?

    Hi,
    I am wondering is there any Java API to work on Tree based data structure.
    I could read in some forums / sites that teach me how to create tree based objects using collection.
    But I wanted to know is there any core java API that can be used directly for tree based operations. (like binary tree or other type of trees)
    Please comment on this doubt.

    Headed using google and other stuff not found one.
    Suggestion: Why not start building the one, its a good idea to do that, isn't it.

  • Is there any Java API to interact/integrate with Adobe LiveCycle Policy Server

    Hi,
    We are already using Adobe LiveCycle Policy server & has manual process in place to send documents to clients.
    Going forward we want to automate this document generation process. We are using Java, JEE in our application.
    We are planning to use below steps to automate this process.
    1) Administrator will create a Template in Adobe Policy Server and will map users intended to receive mails with this template
    2) Our application will interact with Adobe Policy Server and use Template ID to generate PDF document and send mails to client.
    Can anyone please let me know if there is any Java API which can be used to perform the above second step.
    Thanks a lot for your help.
    Best Regards - Roy

    Hi Steven,
    What you refer to is PDF Generator version 7.x Postscript edition.
    In version 7 of the product there were 3 editions:
    1. PDF Generator Professional
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Image (JPG, GIF, BMP, TIFF, PSD)
    Standard office formats (DOC, XLS, PPT, WPD, MPP)
    Text (TXT, RTF)
    Web (HTML)
    Design files (DWG, VSD)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    Searchable PDF files from images
    Convert PDF files to:
    HTML documents
    Text (TXT, RTF, accessible)
    Images (TIFF, PNG, JPEG)
    Print (PS, EPS)
    2. PDF Generator Elements
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Image (JPG, GIF, BMP, TIFF, PSD)
    Standard office formats (DOC, XLS, PPT, WPD, MPP)
    Text (TXT, RTF)
    Web (HTML)
    Design files (DWG, VSD)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    Convert PDF files to:
    HTML documents
    Text (TXT, RTF, accessible)
    Print (PS, EPS)
    3. PDF Generator Postscript
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    So basically what you have is the very limited edition, doing exactly what you said. For more functionality you should opt for one of the other editions (that for version 7.x)
    Today's version is the newer LC PDF Generator ES. You can look for its specifications at http://www.adobe.com/products/livecycle/pdfgenerator/
    Thanks

  • Is there any java API available to make call to 11g Composite Service?

    Hi All,
    How can I make a call to 11g Composite from java? Is there any java client API available for this?
    Thanks,
    Vidya

    Sure there is a way.
    Here is a documentation link:
    Link: [http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/invocapi.htm#CHDBBBBC]
    Adam

  • Are there any JAVA APIs that control usb ?

    i can't find any document JAVA APIs that control usb�C
    help me !!

    I think there is an API planned. But I think it is still in the specification state. Search the developer connection.

  • Are there any Java classes  which generates UI Maps based on UI Hints

    Hi,
    I would like to know how UI Hints work and how UI Maps are generated based on UI Hints.
    Are there any java classes behind?

    Can someone help me on how to do this?

  • Error while using the XMLP API to generate a report

    Hi all,
    I am trying to generate a report using stand-alone application by the JAVA API (User doc Ch 11). I am using RFT template for this.
    Step1: Create XSL from RTF file. I could do this. Example is given in page 262 of the guide. Here is the code snippet (all import, try/catch removed):
    RTFProcessor rtfProcessor = new RTFProcessor(args[0]);
    rtfProcessor.setOutput(args[1]); // output file
    rtfProcessor.process();
    This generated a XSL file correctly.
    Step 2: Using the XSL and XML file, it could generate a output. This is failing for me. (Page 265). Code snippet below:
    <snippet>
    FOProcessor processor = new FOProcessor();
    processor.setData(args[0]); // set XML input file
    processor.setTemplate(args[1]); // set XSL input file
    processor.setOutput(args[2]); //set output file
    processor.setOutputFormat(FOProcessor.FORMAT_PDF);
    // Start processing
    try
    processor.generate();
    catch (XDOException e)
    e.printStackTrace();
    System.exit(1);
    System.exit(0);
    </snippet>
    It compiles. When I run this program (class), I get the following errors and I do not know where to look for help/resolution:
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 2
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 3
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 4
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 5
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 6
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 7
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 1 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 2 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 3 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 4 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 5 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 6 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 7 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 1 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 2 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 3 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 4 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 5 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 6 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 7 at row index 1
    PROBLEM: In oracle.dss.graph.GraphControllerAdapter::public void perspectiveEvent( TDGEvent event ): inappropriate data: partial data is null

    Hi Tim,
    My present requirement is :
    In OAF page, When i click "generate" button, it should generate pdf which is XML publisher output.
    My code is able to generate pdf/excel file with zero bytes and also i'm unable to open this pdf file. Following code i have written in processFormRequest:
    I debugged this code . it's working fine till processor.setOutputFormat(FOProcessor.FORMAT_EXCEL); It's unable to execute the FO processor Engine.
    Kindly please help me to rectify this error.
    if (pageContext.getParameter ("GeneratePDF")!= null)
    try{  
    RTFProcessor rtf = new RTFProcessor("C:\\cash_receipt\\CASH_RECEIPT_XML5.rtf");
    System.out.println(" step -2");
    rtf.setOutput("C:\\cash_receipt\\CASH_RECEIPT_XML7.xsl"); // set output AS XSL FILE
    System.out.println(" step -1");
    Document dc = rtf.process();
    System.out.println(" rtf.process()" + dc.toString());
    FOProcessor processor = new FOProcessor();
    // set the data definition
    processor.setData("C:\\cash_receipt\\cash_receipt_xml5.xml");
    System.out.println(" step 1");
    //("C:\\cash_receipt\\cash_receipt_xml5.xml");
    // set the template
    processor.setTemplate("C:\\cash_receipt\\CASH_RECEIPT_XML7.xsl");
    System.out.println(" step 2");
    //("C:\\cash_receipt\\CASH_RECEIPT_XML5.xsl");
    //Set the output file and the output format for a PDF document:
    processor.setOutput("C:\\TestXML.Excel");
    System.out.println(" step 3");
    processor.setOutputFormat(FOProcessor.FORMAT_EXCEL);
    // run the FO processor Engine
    System.out.println(" step 4");
    processor.generate();
    System.out.println(" step 5");
    catch (Exception e) {
    e.printStackTrace();
    System.out.println("XDOException " + e.getMessage());
    thanks,
    Keshav

  • RAS Java API Exception on Crystal Reports Server XI R2

    Hi
    We download run the evaluation version of Crystal Reports Server XI R2 SP2.
    Our web application uses RAS Java API to talk to Crystal Reports Server to open unmanaged reports.
            ReportClientDocument lo_ReportClientDoc = new ReportClientDocument(); //*** Cause exception
            ReportAppSession reportAppSession = new ReportAppSession();
            reportAppSession.createService(
              "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"); //*** Cause exception
            reportAppSession.setReportAppServer(servername);
            reportAppSession.initialize();   //*** Cause exception
            lo_ReportClientDoc.setReportAppServer(reportAppSession.getReportAppServer());
            lo_ReportClientDoc.open(asReportName,OpenReportOptions._openAsReadOnly);
            ReportServerControl control = new ReportServerControl();
            control.setReportSource(lo_ReportClientDoc.getReportSource());
    The lines marked with "//*** Cause exception" above cause the following exceptions, although at the end the reports came up correctly. When we were running Crystal Reports Server XI (Release 1), we did not see this exception. Can you tell what is going wrong? Thanks.
    SystemOut     O org.xml.sax.SAXParseException: File "null" not found.
    +     at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1202)+
    +     at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:499)+
    +     at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:312)+
    +     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1079)+
    +     at com.crystaldecisions.xml.serialization.XMLObjectSerializer.load(Unknown Source)+
    +     at com.crystaldecisions.proxy.remoteagent.ClientSDKOptions.readClientSDKOptions(Unknown Source)+
    +              at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.b(Unknown Source)+
    +     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.h(Unknown Source)+
    +     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(Unknown Source)+

    Hey did anyone ever answer your question, I have exactly the same problem 4 years later, sigh

  • Is there any java api available to get the process identifier ?

    Hai,
    I am in need to get the process identifier of a running process.
    Is there any API available or any shell script which can be used in exec command
    to get it.
    Thanks in Advance.
    Kavitha M.

    Hint: Don't use the exec command! This would spawn off a new shell with a different PID. You might want to look at JNI (Java Native Interface) to attach a piece of C code to your Java application that can find out the PID.

  • Pure Java API to generate/transform linearized PDFs?

    I found some tools on the net to linearize PDF documents. But all use JNI to call some native library (DLL). Is there also a pure Java solution to linearize PDFs?

    Martin,
    Could you pass on the info on solutions you mentioned on java/jni PDF linearization? Iv'e used the pdfopt script based on ghostscript to linearize iText-created pdf files with jpg images. However, pdfopt applied to pdf files with jpeg-2000 images are not properly linearized for a reason I've not tracked down yet. We're building pdf formats for scanned books as part of the openlibrary.org project at the Internet Archive "open source books" project.
    In fact, any free/open source solution for pdf linearization for linux would be very useful, even if not java-based.
    Regards,
    Todd

  • Q: Is there any tool/api that generates a db shema programmatically

    hi all!
    I am trying to find a tool which can construct a database schema during the running of an application. In general, the user will define the structure of the new database. When the user click a button the code will generate the database. Do you know any tool that is capable to do this task?
    I visited the torque, apache project, but I realized that the database schema is created by the ant make tool. I dont want to use an external program to create the db just only something like that.... dbSchema.create()

    I searched in the hibernate site for something similar
    to that i want but i didn't find anything. From the
    hibernate site I can conclude that the hibernate use
    an already created database in order to map the
    database with java objects.
    If I am wrong please correct me.
    If hibernate can create a database from an xml file,
    please give me some useful links.
    thank you in advance, kostashibernate can do what you want: it has things like schemaUpdate, export... and do what you want. you need to spend a few days on this, though.

  • Process with RenderPDFForm using Java API not generating output file

    I have a short-lived process that renders a PDF/HTML form based on input parameters. It also takes a .xdp file as input. This works just fine from with
    in Workbench (9.0). I have created a Java client to invoke this process. When I invoke the process from the Java Client,
    it is not creating the output file. When I look at the invocation response, I see the output parameter (output file) name, but it is null.
    Here is my code.
    Properties connectionProps =
    new Properties(); 
    connectionProps.setProperty(
    "DSC_DEFAULT_SOAP_ENDPOINT", "http://hostname:8080");connectionProps.setProperty(
    "DSC_TRANSPORT_PROTOCOL","SOAP"); 
    connectionProps.setProperty(
    "DSC_SERVER_TYPE", "JBoss"); 
    connectionProps.setProperty(
    "DSC_CREDENTIAL_USERNAME", "username"); 
    connectionProps.setProperty(
    "DSC_CREDENTIAL_PASSWORD", "password"); 
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
    //Create a ServiceClient object
    ServiceClient myServiceClient = myFactory.getServiceClient();
    //Create a Map object to store the parameter value
    Map params =
    new HashMap();
    File file =new File("C:/test1/test.xdp");File ofile =
    new File("C:/TestProcess.pdf"); 
    //String formName = "RD410-4.xdp";
    InputStream inFile =new FileInputStream(file);OutputStream oFileStream =
    new FileOutputStream(ofile); 
    byte[] cData = "".getBytes(); 
    Document inputData =
    new Document(inFile); 
    // Document outputData = new Document(oFileStream);
    inputData.passivate();
    params.put("Form", inputData);params.put(
    "FormId", "12");params.put(
    "RevId", "12");params.put(
    "OutputType", "PDF");params.put(
    "targetSubmission", "http://localhost:8090/LCWebProject/HandleData");params.put(
    "param1",1);
    InvocationRequest invokeRequest = myFactory.createInvocationRequest(
    "MyApplication10/Processes/RenderForm", //Specify the short-lived process name
    "invoke", //Specify the operation name
    params,
    //Specify input values
    true); //Create a synchronous request
    InvocationResponse invokeresponse = myServiceClient.invoke(invokeRequest);
    Document encryptDoc = (Document) invokeresponse.getOutputParameter("outputFile"); 
    //Save the encrypted PDF document returned by the process
     //Save the password-encrypted PDF document
    File outFile =new File("C:\\test1.pdf");encryptDoc.copyToFile (outFile);
    I see the output parameter "outputFile" in the invokeresponse object. But it is null.
    Can anyone guide me in the right direction ?
    Thanks,
    Jyothi

    I am not giving the solution, providing you a hint..
    This is the query you need to satisfy,
    SELECT NVL(R.DESCRIPTION ,CP.USER_CONCURRENT_PROGRAM_NAME)
    FROM FND_CONCURRENT_REQUESTS R, FND_CONCURRENT_PROGRAMS_VL CP,XDO_DS_DEFINITIONS_B XDS
    WHERE ( ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'U'
    AND R.REQUESTED_BY = :$PROFILES$.USER_ID ) or
    ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'R'
    AND R.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID ) )
    AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_ID
    AND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_ID
    AND XDS.APPLICATION_SHORT_NAME=
    ( SELECT APPLICATION_SHORT_NAME
    FROM FND_APPLICATION
    WHERE APPLICATION_ID=CP.APPLICATION_ID)
    AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAME
    AND R.OUTPUT_FILE_TYPE='XML'
    AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')
    ORDER BY R.REQUEST_ID DESC
    Go to system profiles and query for 'Concurrent:Report Access Level', responsibility you need and modify the profile name accordingly....

  • How can we access the java API from the BO report

    Post Author: kusammurali
    CA Forum: JAVA
    Hi,
    Pls clarify my doubt
       Busines Objects Developer suit comes with either JAVA SDK or .NET SDK  COM/VISUAL BASIC SDK . am i right?
       By Using visual basic we can customize the report  (Tools--->Macros  and create VB macro)
        What is the process of accessing  .NET or JAVA SDK ? is there any separate editor for java and .net ?
    Thanks
    Murali.

    Using object tags is the correct way and only way to download the plugin and let the client decide whether he can download it r not. There is no way to install automatically
    I dont think there is a way to install automatically without a user intervention coz, it can open the floodgates for potential hackers.
    Can u cite an example about which programs can be installed automatically and why do u want the plugin to be installed automatically?
    ciao

Maybe you are looking for

  • Project Online Time Zone Settings Issues

    We just start use Project Online for our project management.  We set the SharePoint Online > Site Settings > Regional Settings to "(UTC +08:00) Kuala Lumpur, Singapore" and we are confirm that our host located either in Singapore or Hong Kong.   Howe

  • Photoshop won't launch

    For some reason Photoshop will not launch. This is on a G4 dual 867 Mac 1.75 GB RAM Mac OSX 10.4.11 I had CS3 working fine for a long time and things were fine.... but it has recently stopped launching. When it stopped launching I deleted and uninsta

  • Using jdbc StoredProcedure to return from a function an array of objects

    I am trying to call a stored procedure(function) using jdbcTemplates with no inputs which returns a list of objects. I previously used the same function returning a cursor and used the following example: http://www.saarathi.com/wiki/Processing_JDBC_R

  • I just updated my iPod touch and all my pictures are gone!!! How do I get them back? Please help!!!

    I just updated my iPod touch 4th generation to iOS 6.0.1 and all my pictures are gone!!! Everything else is there but my pictures! How do I get them back? Please help!!!

  • BRF Workflow setup

    Hi, Please let em know the steps to set up the One step and Automatic approval for SC in SRM 7.0. We are using process controlled workflows. Thanks, Murli