Integration oracle reports with ADF

Hi All,
I am getting error-
REP-110: File spare_request.rdf cannot be opened. REP-1070: An error occurred while opening or saving a document. REP-0110: File spare_request.rdf cannot be opened
As per Sameh Nassar: Call Oracle Reports From Your ADF Application  & Sameh Nassar: Call Oracle Reports From Your ADF Application (Hide Report Parameters From URL), I have created application. But it is not working Please let me know what mistake I did.
1. I have created testreports.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
    <af:document title="reports" id="d1">
        <af:form id="f1">
            <af:inputText label="Label 1" id="it3"/>
            <af:inputText label="Label 2" id="it4"/>
            <af:commandButton text="Run Report" id="cb1" action="#{ReportBean.runReport_action}"/>
        </af:form>
    </af:document>
</f:view>
2. then,I have created OracleReportBean as per blog and ReportBean.java backing bean in the following ways
    public String runReport_action() {
        OracleReportBean reportBean =
        new OracleReportBean("172.30.1.9", "8888", null);
        reportBean.setReportServerParam(OracleReportBean.RS_PARAM_DESTYPE,"cache");// which will be one of the [cashe - file - mail - printer]
        reportBean.setReportServerParam(OracleReportBean.RS_PARAM_DESFORMAT,"PDF"); // Which will be onr of the [HTML - HTML CSS - PDF - SPREADSHEET- RTF].
        reportBean.setReportServerParam(OracleReportBean.RS_PARAM_REPORT,"spare_request.rdf");
        reportBean.setReportParameter("P_WTYPE", "CSH");
        reportBean.setReportParameter("P_WNUMBER", "13400181");
        reportBean.setReportParameter("P_EQ", "0.40 WM");
        reportBean.setReportParameter("P_Req", "40267");
        reportBean.setReportParameter("P_JOB", "WI");
        reportBean.setReportParameter("report", "spare_request.rdf");
        String url = reportBean.getReportServerURL();
        System.out.println("URL"+url);
        reportBean.openUrlInNewWindow(url);
        return null;

Well, the message comes from the reports server which is telling you that the report definition can't be found. Check hte name and path to the file on the report server.
Timo

Similar Messages

  • Integration oracle forms with ADF

    Hi
    Please provide me the steps for integration of oracle forms with ADF or any live example.
    It is very urgent. Please help...

    Hi,
    Please watch the below video. This will help you to get started .
    ADF Insider - Redeveloping and Oracle Forms Application using Oracle ADF

  • Can I run Oracle Reports with ADF BC

    Hi,
    I want to Oracle Report in my ADF Project. I want to use Oracle Report Tool for my report.
    is it possible ?

    Hi,
    We are using Oracle Reports in ADF Project. For me the best way is using Reports WebService.
    WSDL URL --> http://reportsserver:port/reports/rwwebservice?WSDL
    Regards,
    Jose

  • Integrating Oracle Reports with Portal

    Hello-
    How can I integrate an Oracle Report built using Reports Developer, into the AS Portal ? What format does the report need to be exported to ? Does it get exported as a portlet, which is available in the Portal Staging Area ?
    Any help would be appreciated.
    Thanks,
    Lakshmi

    Hi
    I never worked this example.. but One guy suggested me to thru this link
    http://download-uk.oracle.com/docs/html/B14048_01/pbr_portal.htm#g1022808
    Ravi

  • Help : Integrating Oracle Composer with ADF Application

    Hi All,
    I wanted to add to an existing page Oracle Composer.
    So here is what I did.
    1) Setup webcenter suite so that I can utilize oracle composer.
    2) Added the oracle composer fragment i.e <pe:pageCustomizable id="pageCustomizable1"> to the my jspx.
    3) Added Form based Authentication to my application.
    4) Provided two types of roles. One as admin role and other as basic role,The admin role had edit permission to edit the above mentioned
    page.
    5) Added a site layer to allow customization done by the admin user to be stored to the custom site layer.
    6) Upon doing so my user with admin role is just able to personalize his page and not able to customize the application for other users.
    Could some body let me know if i have missed anything.
    Regards
    Harish

    Hi,
    there is no native way of doing this - as of yet. There is a work-around documented on this blog: http://www.oratransplant.nl/2007/05/03/published-paper-about-using-oracle-forms-as-web-component/
    In Forms 11, Forms will have a JavaScript API allowing you to interact with the page the Applet renders on. This allows you to call out and in to Forms. I think though that the more robust integration point is the Forms Java API on the server
    Frank

  • Integrating Oracle  Reports with Oracle Forms 10g Menus

    I just migrated from oracle developer 6.0 to oracle developer 10g....I have to call reports through Menus...in 6.0 I used the following code
    Declare
         pl_id          paramlist;
    Begin
         if :global.hlr is null then
              message('Cannot run report - No Hotline Record');
              raise form_trigger_failure;
         end if;
         pl_id := Get_Parameter_List('p_list');
         if not Id_Null(pl_id) then
              Destroy_Parameter_List(pl_id);
         end if;
         pl_id := create_parameter_list('p_list');
         add_parameter(pl_id,'hlr_num',text_parameter,:global.hlr);
         run_product(reports,'hotline',synchronous,runtime,filesystem,pl_id,'null');
    End;
    in 10 g I changed the "run_product" as follows
    Web.show_document ('/reports/rwservlet=Repsrv&report=C:\myApp\rpt.rdf&desformat=pdf&destype=cache&userid=user/password@orcl&paramform=yes&HLR_NUM=3171,'_blank');
    for test purpose and the report came out blank...can some one please direct me on how to pass parameters.
    Thank You

    Hello,
    I call my reports like the following:
    Declare
    LC$Cmd Varchar2(512) ;
    Begin
         LC$Cmd := 'http://machine_name:7778/reports/rwservlet?' || 'CGICMD_ENTRY&report=REPORT_NAME.rdf'
         || '&P_1=' || name_in('PARAMETER.P_1') ;
         Web.show_document(LC$Cmd, '_blank') ;
    End ;
    CGICMD_ENTRY is an entry in the cgicmd.datthat allow to mask information on the url browser (like connection string)
    Francois

  • Integrating mod_plsql reports with Oracle Apps. A maddening dilemma.

    I'm hoping there is some guru out there that has the perfect solution to this maddening dilemma I'm facing.
    The crux of the issue is this.
    I've created mod_plsql reports that can accept a session_id with which they can set a user context based on global application contexts set in Oracle applications by users as they log in.
    At this juncture, I have not figured out a way to call those mod_plsql reports from Oracle apps using a variable session_id as defined for the user when they logged into apps.
    My client want to be able to log into Oracle apps and then go to the mod_plsql reports from the Oracle Apps menu and maintain the user session, so that the mod_plsql reports are run using VPD to constrain access to the data they are displaying to that specific user.
    The client does not have Single Sign On installed nor OID.
    I had hoped to pass a variable parameter session_id from the defined menu function that would call the mod_plsql url, but I don't see any way to pass a variable there and am becoming convinced that doing so is not an option. Can anyone confirm this?
    An alternate option I'm considering that seems like it would work is to create a JSP page that gets called from a menu function. In that JSP page, I would retrieve the session_id set in apps based on the context for the user_id that I could retrieve from fnd_global.user_id and assemble a URL with the session_id that the page would then re-route to the mod_plsql page.
    Unfortunately, I'm not versed in JSP.
    How hard would it be to create the sort of page that I'm talking about?
    Would the JSP need to part of OAF?
    Can anyone think of any other options that would take care of the issue I'm dealing with?
    Thanks.
    Kurt

    See answer on other forum: Integrating mod_plsql reports with Oracle apps. Maddening dilemma.

  • Use Oracle Reports with Jdeveloper 11

    Hi,
    My next question. How to use Oracle Reports with jdeveloper 11. I have more oracle reports (used with a existing forms application) and i need to migrate this application to web-adf application. I think that is very powerful to use this oracle definition reports but i not know ho to do it.
    thanks,
    Jordi

    Read the publishing reports manual of Oracle reports to see how to Web enabled your Oracle reports. You can then invoke them from an ADF application either by calling a URL or using a Web service interface.

  • How to call oracle reports from ADF application.

    Hi
    I am migrating oracle 11g application to ADF. I would like to call oracle reports from ADF application.

    There is nothing similar to forms-reports integration, but you can invoke rwservlet url.
    Here is sample and utility class: Sameh Nassar: Call Oracle Reports From Your ADF Application
    Dario

  • Integrating oracle iStore with portal

    Hi,
    We need to build a B2C product catalog. I need answers to a couple of the questions listed below:
    1.Is there any inbuilt commerce functionality present in Oracle 9ias Portal?
    2. Is there any third party product available for building a product catalog of say eg. shoes?
    3. Is it correct to say that oralce iStore is the ans. to building the product catalog?
    4. what are the integration issues for integrating oracle iStore with portal?
    Prompt reply would be a great help.
    Thanks in advance.
    Ankita

    Hi Kishore,
    Here you find information on integrating Reports with Portal: Oracle Application Server Reports Services Publishing Reports to the Web.
    Peter

  • Unable to integrate Oracle Reports with Express--(To oracle Team also)

    Hi
    Unable to integrate Oracle Reports with Express. While defining
    the Express database connection using the olap connection editor
    iam getting the following error "Error locating the XCONEDIT.INI
    file. Try re-installing the software".
    what should be done?
    Atleat,If anybody has successfully connected to Express via
    Reports6i. Kindly give the details like what softwares to be
    installed in what HOME? and also other steps involved in the
    process.
    YOur help !!!
    kindly respond...(Oracle Team do respond with something)
    with rgds

    hello,
    check out the notes
    Note:112542.1
    Note:167049.1
    on oracle metalink for further information.
    if you still have issues, please contact oracle support services
    for furhter assistence.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • GENERATING ORACLE REPORT IN ADF

    Hi,
    i need to generate offer letter for student.
    an admin will need to generate offer letter of student bases on their intakeId, branchId, degId, and typeofferletter.
    currently im doing this in adf form. from here how to transfer the information in adf form into offer letter template and print it in pdf?

    Hi,
    actually there are two questions in one:
    1: How to call an Oracle Reports from ADF?
    Answer is to use the Oracle Reports URL to request a report. The data submitted by an ADF form could be passed as URL parameters or - if sensitive information is involved - saved in a temporary table for reports to look it up. Have a look at for an option to download the PDF by referenring the Reports URL http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_fileDownloadActionListener.html
    2: How to generate PDF from ADF
    Jasper Reports, BI Publisher or POI are the options people use for reporting in ADF. Jasper Reports and BI Publisher allow the creation of PDF documents based on form content submitted from ADF
    Frank

  • Getting Error while integrating Crystal reports with Java

    Hi All,
    I am getting below error while integrating crystal report with java
    [java] os.arch = x86
    [java] java.lang.NoSuchMethodError: com.crystaldecisions.Utilities.d.<init>
    (Ljava/awt/Image;I)V
    [java] at com.crystaldecisions.Utilities.af.try(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.a(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.<init>(Unknown Source)
    [java] at com.businessobjects.crystalreports.viewer.applet.g.a(Unknown
    Source)
    [java] at com.crystaldecisions.ReportViewer.ReportViewer.start(Unknown
    Source)
    [java] at ReportViewerFrame.<init>(ReportViewerFrame.java:51)
    [java] at JRCViewReport.launchApplication(JRCViewReport.java:29)
    [java] at JRCViewReport$1.run(JRCViewReport.java:50)
    [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
    178)
    [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
    spatchThread.java:190)
    [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
    atchThread.java:144)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:138)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:130)
    [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Any help can be appreciated
    Kalyan

    Hi All,
    For got to mention i am using crystal reports XI release 2 with JDK1.4.
    Kalyan

  • Best practice for integrating oracle atg with external web service

    Hi All
    What is the best practice for integrating oracle atg with external web service? Is it using integration repository or calling the web service directly from the java class using a WS client?
    With Thanks & Regards
    Abhishek

    Using Integration Repository might cause performance overhead based on the operation you are doing, I have never used Integration Repository for 3rd Party integration therefore I am not able to make any comment on this.
    Calling directly as a Java Client is an easy approach and you can use ATG component framework to support that by making the endpoint, security credentials etc as configurable properties.
    Cheers
    R
    Edited by: Rajeev_R on Apr 29, 2013 3:49 AM

  • Oracle Reports with XML output showing data as asterik character

    Hello,
    I'm trying to create an Oracle report with xml output. Here is the issue I'm having some of the columns in my report are of datatype number. When I run the report and generate xml file the values for those columns(datatype number) are showing as (*) character, other columns are showing fine. But when I run the report as text output then data is fine. I don't understand why this is happening.
    The property of column is Column Type - Database Scalar, Datatype - Number , width 0,-127.
    Does the width has to do anything with this?
    I'm using Report Builder 6.0.8.11.3, DB version 10g.
    Can anyone please help me with the issue I'm having.
    Thanks

    If the links in your example report1 and report2
    follow my format stated earlier
    http://machine:port/reports/rwservlet/report=reportnam
    e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
    rverName>&userid=scott/tiger@hrdb&desformat=pdf
    This is what I believe
    >
    so http://machine:port/ is the port where
    JBoss is running and
    This should be the port that the report server is listening on
    >
    server=<YourReportServerName> is the name of
    my oracle report server
    so I call the above link in my current application
    and the report would show up
    Yes
    >
    that means (correct me if I am wrong) that my reports
    would have to be deployed in OracleAS
    Yes
    >
    I have to try all this yet as till this point I was
    trying to run Oracle reports deployed in JBoss...
    This may be possible, I am not sure.
    >
    Oracle J2EE Thin Client?
    I am not sure what this is used for in your setup.

Maybe you are looking for

  • Help needed to do port forwarding in ipfw...

    For the last weeks I have been working to get the new open-source content management system Alfresco working. It is a pure Java web application that runs under Tomcat. There is official support for Mac OS X but only Windows and Linux gets true instal

  • How to create a new namespace in SOAP envelope?

    I'm trying to create SOAP envelope like the following:    <my:Envelope xmlns:my="http://my.com/">     <my:Header/>     <my:Body/>   </my:Envelope>and the following are the codes:  SOAPFactory soapFactory = SOAPFactory.newInstance();   MessageFactory

  • Imported photos and got duplicates - how to identify and remove duplicates?

    Hi all, I am running iPhoto '08 and it has worked very well. Yesterday, I imported a folder containing photos and I knew that some of the photos already existed in my iPhoto Library. But not concerned, when I know that iPhoto will detect duplicates.

  • Constant shut down since upgrading to new OS X

    Has anyone had issues with a constant shut down of your mac since upgrading to OS X? Every time I synch my dropbox it shuts down.

  • Infotype 0007 - Mass update

    Hi all, I configured our system in a way that infotype 0007 should be created automatically in the background. (SAP Customising Implementation Guide -> Personnel Management -> Personnel Administration -> Customizing Procedures -> Dynamic Actions) And