Download XML Publisher report through URL

Hi Gurus,
I need to download pdf that which is generated using data template(.xml) and Layout template(.rtf) from XML Publisher through URL by passing required parameter.
Could anyone please help me on this. This is one of our client requirement. Its really very urgent.
Thanks,
Vino.

is it ebs?
if yes i can not be sure what it is work for ebs
for ebs related bip you can ask in General EBS Discussion

Similar Messages

  • Run XML Publisher Report  via URL (like Oracle Reports)

    Hi All,
    Is it possible to run xml-publisher report via URL?
    In Oracle Reports works this fine:
    http://test:7777/reports/rwservlet?server=test_bihome1&report=test1.rdf&userid=test/testv@db&desformat=pdf&destype=cache
    We need this for public reports without user login.
    Thanks
    Thomas

    Thomas,
    I was waiting to get home before Tim replied... He got the better of me this time :-)
    You say you want to let your users run reports using XMLP just by clicking on an URL same way you do with reports and without having to login. If I got the question right and assuming that:
    1.Your company is not overly concerned on who runs what reports
    2.Who sees what data
    3.Your XMLP installation is on your intranet and firewalled from the outside
    What you can do is:
    On the main page of your XMLP Enterprise installation you should see a folder called "Guest". Any report you create under this folder is run as user "guest" which means you don't have to authenticate yourself as you would normally do.
    I have tested this on my home server and this is what I've done:
    1.Logged in as admin or any other user you've created with admin privileges created a report under the "Guest" folder.
    2.Copied the URL, on my server it is "http://samba.private.net:15101/xmlpserver/Guest/People/People.xdo"
    4.Logged off as admin and pasted the URL to a new browser window
    5.Hit return and Voila, my report runs without the need to login to XMLP.
    Hope this helps. Let us know how you got on.
    Cheers,
    Joao
    PS: If you want to see the report for yourself here's the URL from the outside: http://medeiros.homelinux.net:15101/xmlpserver/Guest/People/People.xdo
    I'll keep the link alive for a couple of days.

  • XML Publisher reports through OAF in R12

    Every time I submit a concurrent request I am unable to put a layout and thus no report is generated. If I run the report through forms there are no issues and everything works great. If I run it through OAF the layout never gets added to the request. All of the previous threads deal with versions of Oracle earlier than what I'm working with.
    Here are the details when ran through OAF: http://i.imgur.com/bBYOe.png
    Here are the details when ran through forms: http://i.imgur.com/1gfEt.png
    Here's my current code:
    This is in the AM.  public int submitCPRequest() {
        try
        OADBTransaction tx = (OADBTransaction)getDBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        String applnName = new String("UNIApps"); //Application that contains the concurrent program
        String cpName = new String("UNIA_OAF_XML_TEST"); //Concurrent program name
        String cpDesc = new String("");
        String time = new String("");
        // Pass the Arguments using vector
        Vector cpArgs = new Vector();
        // Calling the Concurrent Program
        cr.addLayout(applnName,cpName,"en","US","PDF","AMERICAN");
        //cr.addLayout(applnName,cpName,"en","US","PDF",null);
        int requestId = cr.submitRequest(applnName, cpName, cpDesc, time, false, cpArgs);
        tx.commit();
        return requestId;
        }catch(Exception e)
        OAException oe = new OAException(e.getMessage());
        oe.setApplicationModule(this);
        throw oe;
        }This is in the CO.  public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        if (pageContext.getParameter("report") != null)
           String requestId = am.invokeMethod("submitCPRequest").toString();
           //requestId = "27546040";
           Serializable params[] = {
               requestId
           pageContext.getApplicationModule(webBean).invokeMethod("getOutputURL", params);
           String outputURL = (String)pageContext.getTransactionValue("OutputURL");
           try
               pageContext.sendRedirect(outputURL);
               return;
           catch(Exception exception)
               throw new OAException(exception.getMessage());
       }

    thank u . the code useful for me

  • Xml publisher  report genarate through Url.

    Hi All,
    I need to call the XML Publisher report through url Please anyone help this .

    is it ebs?
    if yes i can not be sure what it is work for ebs
    for ebs related bip you can ask in General EBS Discussion

  • URL to access XML Publisher report

    How would I compose a URL to be called via a personalization button, which returns the output from an XML Publisher report?

    FYI,
    There is seprate forum for XML Publisher Reports.
    BI Publisher
    Thanks

  • Rendering Imges in XML Publisher Report

    Hi,
    We have the requirement of Rendering Images in XML Publisher Report.This images will be for each record you export. We do not want to construct the URL at run time and show the image, rather want to send the data through XML as encoded binary information and at run time to interpret the data and render the Image.
    Is this supported in XML Publisher, if yes , what are the steps to follow in sending the data (specific encoding/formats etc)
    Thanks
    Joseph George

    Why can you not use send the path on the server via XML to the template to render the image?
    Brett

  • XML Publisher report giving XML tag output

    Dear All,
    Please note that we need to convert the standard report 'Bill of Material Comparison Report' to XML Publisher report.
    But we were not able to get the desired PDF output instead it shows only XML output.
    This report is not a direct concurrent program call to rdf, this concurrent program is triggered from a function.
    How can we overcome this issue..,
    Please update,
    Many thanks...,

    Hi Kiran,
    Please find the below info:
    Could you please confirm whether you have made the standard program's executable as 'XDODTEXE', and created a data definition with the rdf shorname and Data templte with the template defined.
    -- Done
    Could you also provide how your calling the report and when the request submitted are u able to see the template name on the submitted request ?
    -- The report is called through the application (in Bill of materials through a Form Function) When we select the comparison, it will display a comparison form, where we need to select the appropriate parameters and a button called 'Report' if clicked, it will fire the 'Bill of Material Comparison Report' concurrent program
    But after the concurrent program submission, we cannot see any template been attached to the submitted conc. pprog. but the template is been already attached to the concurrent program through the XML Publisher Administrator
    Many thanks....

  • XML Publisher Report Output from OAF Page

    Hi,
    I created a button in a OAF page, and called the XML publisher Report program on click of this button. The concurrent request was ran when check from View Requests. When I click on viewout, the pdf document was open with the option, open, save, cancel. But this is not coming up in the OAF page. when debugged the code, the url is null.
    Please see the below code.
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)paramOAPageContext.getRootApplicationModule().getOADBTransaction();
    String s1 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("TWO_TASK");
    System.out.println("s1 = " + s1);
    String s2 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("GWYUID");
    System.out.println("s2 = " + s2);
    String s3 = "BEGIN :1 := fnd_webfile.get_url(fnd_webfile.request_out, :2, :3, :4, 2); end;";
    CallableStatement callablestatement = paramOAPageContext.getApplicationModule(paramOAWebBean).getOADBTransaction().createCallableStatement(s3, 1);
    System.out.println("s3 = " + s3);
    if(requestId != 0)
    try
    Number number = new Number(requestId);
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, number.intValue());
    callablestatement.setString(3, s2);
    callablestatement.setString(4, s1);
    callablestatement.execute();
    String s4 = callablestatement.getString(1);
    System.out.println("Before S4 if statement");
    if(s4 == null || s4.equals(""))
    // throw new RuntimeException();
    System.out.println("URL is null");
    System.out.println(" print ouput url - " + s4 );
    // throw OAException.wrapperException(exception);
    oadbtransactionimpl.putValue("OutputURL", s4);
    System.out.println(" print ouput url - " + s4 );
    }

    Look at the links AJ gave.
    Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
    All of these things are in the XML Publisher documentation and Javadocs.

  • XML Publisher report not printing excel output due to special characters

    Hello,
    I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in text content. Error processing resource " and i think these errors are due to the special characters(eg: city/province - A Coruña, Cáceres). If i give rownum < 10 in my query, where there are no such characters it works fine and i am getting an excel output.
    Tried changing the XML encoding and it doesn't help (both mentioned below)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml version="1.0" encoding="UTF-8"?>
    Do anyone have a solution for this
    Thanks in advance
    Edited by: user10317098 on Jan 16, 2012 10:58 AM

    Hi,
    Check this links that might help you..
    https://forums.oracle.com/thread/1018488
    http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
    Here the Exact solution from Oracle
    In the XML PUBLISHER ADMINISTRATOR Resp..
    Click the administration..
    then Click HTML Output
    Then in the Base Image URI Give the url of your application for example
    http://Test.Test.com:8000/OA_MEDIA/
    And then
    Image File Directory give this as per your application setup
    /u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
    Thanks & Regards
    Srikkanth.M

  • XML Publisher Report EXCEL output Huge stored as Web Pages

    Hello
    I have a XML Publisher Report which generates EXCEL output and the output file size is huge.
    What I notice that it is stored as Web Pages *.htm; *.html (Save as Type) in Excel this is the reason it is huge.
    If I save as Microsoft Office Excel Workbook *.xls it Reduce the size.
    I don't know how to save as ".xls" through XML Publisher using PL/SQL.
    Any body knows? please Help..
    XML Publisher Template Builder for WORD
    Version 5.6 Build 45
    PATCH        BUG_NUMBER
    XDO.H     *3263588*
    4.5.0     *3554613*
    5.0.0     *3822219*
    5.5.0     *4206181*
    5.0.1     *4236958*
    5.6.0     *4561451*
    5.6.1     *4905678*
    5.6.2     *5097966*
    5.6.3     *5472959*
    Thanks.

    Hi Vetsrini,
    We're on 10.1.3.4.1 and siebel 8.1.1.3 and when trying to open a report from within siebel in the output format EXCEL (selected from the parameter applet), it just opens the document in the browser.
    Is there a way to get it to open directly in Excel? I guess the reason is the file extension*.EXCEL, how could we get the extension to be in excel format (xls)?
    We don't want our users to have to do this themself.
    Regards,
    Hakan

  • Error running XML Publisher report

    Hi,
    I am running a XML publisher report using xml file as the data source. The output format of the report is a PDF format. When I am running the report in a field change event or through an application engine, for both the things I am getting the following error.
    Error generating report output : %1 (235,2309)
    Error occured during the process of generating the output file from template file,XML data file, and translation XLIFF file.
    Please revert back if you have any suggestions with regards to the above problem.
    Thanks in advance.
    Regards,
    Vamsi.

    Well
    i m also struggling with the same error.
    What i m trying to do is to import/use images in my peoplesoft report. In the template file (rft), the iage element properties are set to
    <fo:instream-foreign-object content-type="image/jpg" xdofo:alt="An Image" ><xsl:value-of select=".//AD_COMPOSITE"/></fo:instream-foreign-object>
    But no output is shown and this error is occured.
    Error generating report output: (235,2309)
    Error occurred during the process of generating the output file from template file, XML data file, and translation XLIFF file.
    Will be Highly ThankFul if someone knows da solution

  • XML publisher report with a template file missing

    I get the following error
    Active template file not found in the template definition <TEMPLATE_NAME> for date <EFFDT>. (235,2515)
    PSXP_RPTDEFNMANAGER.TemplateDefn.OnExecute Name:GetActiveTemplateFile PCPC:15872 Statement:346
    but in
    Reporting Tools > XML Publisher > Report Definition > Template tab
    I did have the setting Effective date, what cause the problem?

    Have a look at following post and run the sql in this post to see if your template definition is missing.
    http://peoplesoft.wikidot.com/xml-publisher-template-file-missing
    You could also run Application Engine PSXPCLEAN to clean orphan rows.
    Are you running the report online or through PeopleCode?
    In last case make sure the effdt is set correct in PeopleCode.
    Also have a look if your server time settings are correct.
    Hakan

  • Unable to print xml publisher report in excel format in R12

    Hi All,
    We are unable to print xml publisher report in excel format in R12. We were able to see the excel output but it's printing junk characters while printing and it's printing without any issue with PDF format.
    Please let me know how to fix this issue.
    Thanks,
    Raja

    Hi Raja,
    I presume you have gone through the debugging process of testing your template locally first to get the expected result.....
    If yes, this note might probably be helpful "Changing Output Format to RTF or Excel in XML Publisher Request Does Not Display Output Correctly (Doc ID 404512.1)"
    Good Luck,
    Lamine Balde

  • How to add different versions of layout in XML Publisher Report?

    How to add two versions of layout(RTF) for different languages in xml publisher report template so that user can see the report in two languages? Is that possible?
    If so then what is the procedure to do that? Can anyone help in this regard?

    Soma,
    Refer to [Oracle XML Publisher User Guide|http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115xdoug.zip] manual, Page 5-8 Adding Localized Templates for Additional Languages.
    Regards,
    Hussein

  • How to print Barcode data in Oracle XML Publisher Report

    Hi,
    We have an rdf report which prints Bar code in the starting page based on a custom procedure from MarkView. It works well with Oracle Reports.
    But since the current report was a matrix report, we are changing it to a Linear report through Oracle XML Publisher Report.
    We have all the things possible in the new Oracle XML Report.. But we are unable to print the Bar code data which is BLOB in the XML Report..
    Can anyone help me on this? We have UAT dates around the corner..
    We have an RTF Template .
    Help asap.
    Thanks
    Abhilash

    Hi Abhishek,
    Bar code Registration Steps in XMLPublisher responsibility:
    1.    Go to responsibility XML Publisher Administrator
    2.    Open Administration
    3.    Open Font Files Tab
    4.    Create Font File
    5.    Give Font Name : XX_BARCODE
    6.    File : Browse Barcode file
    7.    Apply
    8.    Go to Font mapping Tab
    9.    Open Create Font Mapping Set
    10.    Give Mapping Name: XX_BARCODE
    11.    Give Mapping Code: XX_BARCODE
    12.    Type : FO TO PDF
    13.    Apply
    14.    Open Tab Create Font Maping
    15.    Font Family: Code39-Digits(This name should be exactly the font name comes in word)
    16.    Style: Normal
    17.    Weight: Normal
    18.    Target Font Type: Truetype
    19.    Continue
    20.    Font : XX_BARCODE
    21.    Apply
    1.    Go to Template Tab
    2.    Query for your template
    3.    Open Edit Configuration
    4.    Click on FO Processing
    5.    In Font Mapping set Give XX_BARCODE
    RTF Template (word):
    1.Design the RTF template
    2.Insert the barcode against reqd field
    3.Make sure to put an * before and after the barcode so that scanner understands the beginning and end
    Please send your rtf ,xml file if you are still facing issues.
    Rgds,

Maybe you are looking for