No XML output for a report Oracle 11.5.10.2 RDBMS 10.2.0.5.0

I created a very simple rdf and ran it without problems.
I then generated an .xml file and loaded this into into the template builder using xml publisher.
I created the rtf and using xml Publisher administrator created a template and data definition for my report (TESTRDF)
"The xml page cannot be displayed
Cannot view xml input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
The following tags were not closed: TESTRDF5, LIST_G_VENDOR_NAME. Error processing resource 'http://cc002101.smart.star.net...
Here is an example of the xml
"- <LIST_G_VENDOR_NAME>
- <G_VENDOR_NAME>
<VENDOR_NAME>Vendor </VENDOR_NAME>
<INVOICE_NUM>141</INVOICE_NUM>
<AMOUNT_PAID>184</AMOUNT_PAID>
<INVOICE_AMOUNT>184</INVOICE_AMOUNT>
<VENDOR_NUMBER_>1</VENDOR_NUMBER_>
<VENDOR_ID>1</VENDOR_ID>
<INVOICE_ID>1</INVOICE_ID>
<WFAPPROVAL_STATUS>NOT REQUIRED</WFAPPROVAL_STATUS>
<INVOICE_DATE>20-DEC-07</INVOICE_DATE>
<DOC_SEQUENCE_VALUE>109624</DOC_SEQUENCE_VALUE>
<HR_DETAILS_>HR changed </HR_DETAILS_>
<ORGANISATION_ID_>102</ORGANISATION_ID_>
<APPROVAL_GROUP_ />
</G_VENDOR_NAME>
"

I would recommend checking the content of the file on the server. The problem with displaying an XML file through the browser is that it won't always display it properly, for example if there is a character id doesn't recognise.
Having opened up the original file, yuo should be able to see the issue more easily.

Similar Messages

  • Need to generate a Index xml file for corresponding Report PDF file.

    Need to generate a Index xml file for corresponding Report PDF file.
    Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
    This is generating pdf successfully.
    As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
    Please see the following attached sample file .
    PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
    Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
    In R12 ,
         We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
         xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
         OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
         docProc.process();
         PrintInvoiceThread :
              out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
                   out.print("<xapi:requestset ");
                   out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
                   out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
                   out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
                   out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
                   out.println("</xapi:indexfile>");
                   out.println("<xapi:document output-type=\"pdf\">");
    out.println("<xapi:customcontents>");
    XMLDocument idxDoc = new XMLDocument();
    idxDoc.setEncoding("UTF-8");
    ((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
    idxDoc = null;
    out.println("</xapi:customcontents>");
         In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
              public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
              public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
              public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
              public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
    Is there any similar java library which do the same thing in fusion .
    Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
              Section 7.11.3.2 Invoking Processors with InputStream .
    But this is not helping much to me. Is there any other document/view-let which covers these thing .
    Appreciate any help/suggestions.
    -anjani prasad
    I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
    PrintInvoiceThread
    InvoiceXmlBuilder
    Control.java

    You can find the steps here.
    http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
    http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/

  • How to define PO Output for Communication Report

    Hi,
    I want to edit and add some features in the PO Output for Communication Report with 'POXPOPDF' short name by the xml publisher is there a way i read some where i found a document id Note:387670.1 but i found nothing but i want a detailed description to what i do exactly.
    Any Advice Will Be Approtiated.
    Thanks

    Hi,
    Depends on what you want to "edit and add".
    The document on note 387670.1 https://metalink.oracle.com/metalink/plsql/docs/Document_Printing_White_Paper.pdf has detailed instructions on what you need to do, plus examples.
    Please advise what you are trying to achieve.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Excel Output For Standard Report In R12

    Hi Experts,
    My Client wants Excel Output for Standard Reports ( ex:-Open Purchase Order Report (by cost center)_xml)
    I changed the default output to Excel in Template of xml publisher administrator Responsibility.
    Now it is showing the Excel output, but The layout of report is not same as layout which in text output of standard report.
    Please guide me is there any solution to develop the reports layout in ms-excel using xml file rather than rtf template.
    Thanks
    Durga.

    Hi Alex,
    Thanks for your replay.
    Generating the new rtf template which is same as standard layout is difficult task for us. Actually we have 120 reports which have same requirement.
    Is there any other solution for this . please guide me
    Thanks
    Durga
    Edited by: 805567 on Jan 23, 2012 12:33 PM

  • Cancel_flag in PO Output for Communication report

    I'm trying to build logic into an RTF template for the "PO Output for Communication" report to handle cancelled lines. The cancel_flag can be set to "Y" at any of 3 levels - PO Header, PO Line and PO shipment. The field is called the same thing (cancel_flag) at all 3 levels but it doesn't always exist at all 3 levels. What do I call the field in my "IF" statement, so that it is looking at the correct field? Right now, if I am at the line level and I want to check the cancel_flag, if it doesn't exist, it looks at the cancel_flag at the shipment level.

    have to see your for-each statements.
    and you can do it, by using .. to go up one level
    example from current level to go up4 level up ../../../../CUSTOM_FLAG
    ../../../CUSTOM_FLAG three lvl up.
    Need to know the cancel_flag element you said, i can see only one :) in the given xml.

  • Add new font to PO Output for Communication Report

    I'm trying to add a new font (Edwardian Script ITC) to the PO Output Communication report. I have added the font file through XML Publisher Administrator, and I have an RTF template report and a test XSL-FO report both correctly displaying the font. The PO Output for Communication report is not displaying the font and I believe it has something to do with the fact that it is a java concurrent program.
    Any ideas on what additional steps need to be done to get this font to show up on the PO Output for Communication? Has anyone been successful in adding a different font to this report?
    Thanks,
    Suzanne

    My RTF template is showing the font, and my test XSL-FO template is showing the font. The PO Output for Communication XSL-FO template is NOT showing the font.
    I even tested by replacing the PO Output for Communication template file with my test template file. When I do that the font not applied in the PO Output for Communication report, even though it was applied using the same template in a test report.

  • PO Output For Communication Report Customization

    Hi All,
    I'm working on R12 'PO Output For Communication' report, it's xml report with executable as Java Concurrent program. I want to add additional fields to the report, since it's java concurrent program, how can i customize the report. Please help to customize the query of the report, where can i find the query, how to proceed.
    Kindly help at the earliest.
    Thanks

    The program is based on 4 views as below:
    PO_HEADERS_XML
    PO_LINES_XML
    PO_LINE_LOCATIONS_XML
    PO_DISTRIBUTIONS_XML
    for relases you may refer to:
    PO_RELEASES_XML
    You need to modify the above mentioned views to add new fields.
    Actually the field names in the views are converted to XML tag with the same name.
    Thanks,
    PS.

  • Excel Output for Standard Reports using XML Publisher

    Hi All,
    Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
    1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
    2. Used the Existing seeded Template
    3. Ran the Report using EXCEL as the output.
    When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
    File Format=Excel, Mime Type=application/vnd.ms-excel.
    When I ran the report with PDF output. I can see the PDF output.
    Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
    My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
    Can someone in this situation before help me out.
    Thanks,
    V

    Questions rephrase:
    1. Is the output is same for HTML and Excel options ?
    2. Why the output is viewable with HTML option and not with Excel option ?
    Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
    Thanks,
    V

  • How do you get an xml file from the PO Output for Communication report?

    Can anyone tell me how you've created an xml output fil for this program? When I run it, the View XML button doesn't light up, and the output file is empty.
    I can see the XML when I click the View Log button, but can't figure out how to save it so that the XMLP Desktop tool can load it properly.
    If you can tell me how to create this file, I'd be very appreciative.

    Hi,
    I can't see the xml in my log file. Maybe you have a different logging level. One issue I have had before is that the xml declaration had a strange character encoding. It should say something like: <?xml version="1.0" ?>. If it mentions anything about encoding you can remove it.
    One of our developers wrote a custom process to write the xml to a table when the document was generated as we couldn't find any other way of doing it.
    You can use the sample xml available from the data definition but this is missing fields.
    Probably not much help...
    Paul

  • XML output from Repostiory Reports

    Hi,
    Any ideas why the table definition report (cktci.rdf) data from the Repository Reports cannot be generated to XML?
    I'm running Designer ver. 9.0.2.91.9, Reports ver. 9.0.2.0.3 . XML is not on the destination format list in Repository Reports, but if you type in xml, the DESFORMAT parameter is correctly set to it. However, only part of the data model is output to the xml file:
    &lt;?xml version="1.0"?&gt;
    &lt;!-- Generated by Oracle Reports version 9.0.2.0.3 --&gt;
    &lt;CKTCI&gt;
    &lt;LIST_G_IRID&gt;
    &lt;G_IRID&gt;
    &lt;IRID&gt;*****&lt;/IRID&gt;
    &lt;NAME&gt;SODO&lt;/NAME&gt;
    &lt;LIST_G_LEV&gt;
    &lt;G_LEV&gt;
    &lt;VERSION&gt;1.8&lt;/VERSION&gt;
    &lt;LEV&gt;0&lt;/LEV&gt;
    &lt;/G_LEV&gt;
    &lt;/LIST_G_LEV&gt;
    &lt;CS_TABS&gt;1&lt;/CS_TABS&gt;
    &lt;/G_IRID&gt;
    &lt;/LIST_G_IRID&gt;
    &lt;D_USERNAME&gt;REP_OWNER&lt;/D_USERNAME&gt;
    &lt;D_USERNAME1&gt;&lt;/D_USERNAME1&gt;
    &lt;F_COL_DET&gt;N&lt;/F_COL_DET&gt;
    &lt;F_VW&gt;&lt;/F_VW&gt;
    &lt;F_SNP&gt;&lt;/F_SNP&gt;
    &lt;TABLES_YN&gt;Yes&lt;/TABLES_YN&gt;
    &lt;VW_TYPE&gt;No&lt;/VW_TYPE&gt;
    &lt;SNP_TYPE&gt;No&lt;/SNP_TYPE&gt;
    &lt;COL_DET&gt;Yes&lt;/COL_DET&gt;
    &lt;D_TABTY1&gt;&lt;/D_TABTY1&gt;
    &lt;CF_PROP_NAME&gt;&lt;/CF_PROP_NAME&gt;
    &lt;P_NULL_IND&gt;Optional ? : &lt;/P_NULL_IND&gt;
    &lt;P_DOMAIN_NAME&gt;Domain : &lt;/P_DOMAIN_NAME&gt;
    &lt;P_UPPERCASE&gt;Uppercase ? : &lt;/P_UPPERCASE&gt;
    &lt;P_ORAC_SEQ&gt;Sequence : &lt;/P_ORAC_SEQ&gt;
    &lt;P_DEF_VAL&gt;Default Value : &lt;/P_DEF_VAL&gt;
    &lt;P_ORD_SEQ&gt;Order By Sequence : &lt;/P_ORD_SEQ&gt;
    &lt;P_SORT_ORD&gt;Sort Order : &lt;/P_SORT_ORD&gt;
    &lt;D_YN&gt;&lt;/D_YN&gt;
    &lt;D_YES&gt;Yes&lt;/D_YES&gt;
    &lt;D_NO&gt;No&lt;/D_NO&gt;
    &lt;D_NULL&gt;Yes&lt;/D_NULL&gt;
    &lt;D_NOT_NULL&gt;No&lt;/D_NOT_NULL&gt;
    &lt;D_NULL_IND&gt;&lt;/D_NULL_IND&gt;
    &lt;D_VERSION&gt;1.8&lt;/D_VERSION&gt;
    &lt;D_CONTAINER&gt;ZSI-WARTA/SODO&lt;/D_CONTAINER&gt;
    &lt;D_VERSION1&gt;&nbsp&lt;/D_VERSION1&gt;
    &lt;D_CONTAINER1&gt;&nbsp&lt;/D_CONTAINER1&gt;
    &lt;COUNTER&gt;*****&lt;/COUNTER&gt;
    &lt;/CKTCI&gt;
    The biggest problem is that the main group G_APP from the report definition is not generated to XML, in spite of its parameter "Exclude from XML Output" being set to No. Any ideas why this happens?
    Regards,
    Tomasz

    hello,
    you can specify the look of the XML tags in the "XML Settings" property of the respective field. so let's say your datamodel has the colun called NAME then by default the xml tag would look soemthing like this
    <NAME>this is the value </NAME>
    now if you set the value for the
    "XML Tag" property and the "XML Tag Attributes" property to e.g. facet and name="his-name"> (the * is just to terminate the the values in this text) the generated XML tag would look something like
    <facet name="his-name">name="his-name"></facet>
    columns that are not in the datamodel (like i asume you mean by <stuff> and <futurestuff> you can create by adding formula columns into your datamodel. formula columns have the same "XML settings" section in their property sheet and can be modified accordingly.
    hope this is what you are looking for.
    thanks,
    ph.

  • 'PO Output For Communication' report

    Need to change the format/layout for this report. Since this report doesn't generate a XML file, it needs to be modified at the xsl file level. I appreciate any suggestions/input as far as the best way to modify this report.

    Do you mean it can not generate XML data? Is it an Oracle Report based program? If so, it can generate XML, if not, then you will need to write some extract definition to get the data out - I'd recommend a data template to do this. Check the docs for more information
    Tim

  • How to add a logo to 'PO Output for Communication' report

    Dear All,
    There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
    Can you please let me know which rtf template is being used for this report?
    Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.
    Thanks in adavance.

    Hi,
    There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
    Can you please let me know which rtf template is being used for this report?
    Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.What is the application release?
    Please see these docs.
    POXPOPDF Seeded RTF Templates for the PO Output for Communication [ID 549508.1]
    How to modify XSLFO report to add Logos and also watermark the draft for non approved PO print reports which are possible in XML? [ID 420671.1]
    New Template Not Picked By PO Output For Communication [ID 416578.1]
    POXPOPDF PO Output For Communication Completes In Error when using RTF template [ID 434774.1]
    R12 : PO Output For Communication: Logo File Does Not Show Up in PDF output [ID 1121811.1]
    Thanks,
    Hussein

  • How to dpwnload one XML file for each report row

    Hi all,
    i have a report on the products table with about 1000 rows
    desc of table products
    product_id varchar (10)
    product_desc varchar2 (2000)
    I would like to download on the file system an xml file for each row of the report
    the nane of each xml file = <product_id>.xml
    thanks in advance
    km

    Hi,
    You would probably find it better to search on the PL/SQL forum as this is more their area than Apex.
    From what I can see in there (and there are a number of examples that would help you), you need to do something like:
    DECLARE
    vPATH VARCHAR2(50) := '/DEV';
    vFILENAME VARCHAR2(50);
    vFILE UTL_FILE.FILE_TYPE;
    BEGIN
    FOR C IN (SELECT PRODUCT_ID, PRODUCT_DESC FROM PRODUCTS)
    LOOP
      vFILENAME := C.PRODUCT_ID || '.xml';
      vFILE := UTL_FILE.FOPEN(vPATH, vFILENAME, 'W');
      UTL_FILE.PUT_LINE(vFILE, '<xdr>');
      UTL_FILE.PUT_LINE(vFILE, '<product_id>' || C.PRODUCT_ID || '</product_id>');
      UTL_FILE.PUT_LINE(vFILE, '<product_desc>' || C.PRODUCT_DESC || '</product_desc>');
      UTL_FILE.PUT_LINE(vFILE, '</xdr>');
      UTL_FILE.FCLOSE(vFILE);
    END LOOP;
    END;I haven't included exception handling etc and you should check on the PL/SQL forum to see if there are better examples!
    Andy

  • Xml output for non-built-in types generated by autotype

    Hi,
    I created a wsdl and used the autotype and wsdl2service ant tasks to generate
    java files.
    As part of my service, I want to log output in xml format of the data received.
    I can write my own serialization, or use the code that was generated by autotype.
    I would rather not write my own. I want to use the code generated by wsdl2service.
    Trouble is I can not find a javadoc nor a sample code segment that shows how!
    Call me dense, but I've spent several hours on BEA web pages looking for answers.
    This is what I found, but I could not get to work for various reasons:
    XML streaming: I have a codec (generated by autotype ant task), but it requires
    a SerializationContext. Where do I get a Serialization Context? I think serialize
    is a callout from WS and not for applicaiton code to call.
    javax.xml.rpc.encoding.Serializer: An object of this type is made available by
    AbstractCodec (base class of generated code, but how is this class used?
    [Sorry if you've seen this posting a couple of days ago on interest.xml newsgroup.
    I didn't intend to repost but due to lack of response there, I thought this newsgroup
    was more appropriate and read more.]
    Thanks,
    John

    manoj,
    Thanks for the help.
    Sample 4 tells me that there is no code generated that I can use to write out
    my non-built-in datatype to xml. For each of my non-built-in datatypes, I will
    have to hand write such code, or use a handler.
    John
    "manojc" <[email protected]> wrote:
    Here is an example of start form WSDL usecase:
    http://www.manojc.com/?sample11
    If you want to log the xml input/output to the web service
    you can use a handler. You need to edit the web-services.xml
    dd file to add handler.
    Here is a example of using handler. But this use source2wsdd
    instead of wsdl2service:
    http://www.manojc.com/?sample4
    Regards,
    -manoj
    "John Franey" <[email protected]> wrote in message
    news:3ef30db2$[email protected]..
    Hi,
    I created a wsdl and used the autotype and wsdl2service ant tasks togenerate
    java files.
    As part of my service, I want to log output in xml format of the datareceived.
    I can write my own serialization, or use the code that was generatedby
    autotype.
    I would rather not write my own. I want to use the code generated bywsdl2service.
    Trouble is I can not find a javadoc nor a sample code segment thatshows
    how!
    Call me dense, but I've spent several hours on BEA web pages lookingfor
    answers.
    This is what I found, but I could not get to work for various reasons:
    XML streaming: I have a codec (generated by autotype ant task), butit
    requires
    a SerializationContext. Where do I get a Serialization Context? I thinkserialize
    is a callout from WS and not for applicaiton code to call.
    javax.xml.rpc.encoding.Serializer: An object of this type is madeavailable by
    AbstractCodec (base class of generated code, but how is this classused?
    [Sorry if you've seen this posting a couple of days ago on interest.xml
    newsgroup.>>  I didn't intend to repost but due to lack of response there, I thought>this newsgroup>> was more appropriate and read more.
    Thanks,
    John

  • Incorrect XML output data in Report 6i, other formats are ok

    Hi,
    A very strange problem when running 6i report (database is 10g). Everything is fine when running the report, when I tried to use Generate to file from the File menu to different file formats, pdf, html and rtf formats are all good, but xml format gave some extra data, it seems it lost some conditions in where clause.
    Any idea?
    Thanks in advance.
    Andrew

    I still doubt it..
    What ever character you have it in database, is going to be fetched in xml..
    be in Report builder, or sql, pl/sql.
    the way the data is being converted is the first we need to see.. if the character is getting messed here..
    once you got it as xml, and open xml in browser, then the parser finds the encoding in the top of xml, and renders the character . if it cannot understand the encoding character, then it will skip or do some abnormal things..
    oracle apps , is generating xml ?? what is that means ??
    data-template ? pl/sql or sql ??

Maybe you are looking for

  • Problem with query in cursor (Oracle 8i)

    Hi all, Following query works perfectly fine if I test it in my development environment SELECT dt,       (SELECT 'Y'          FROM dual         WHERE EXISTS (SELECT 'x'                         FROM top_days t                        WHERE t.date = dt)

  • How can i get iPhoto to open if it says i need to use a new version?

    When I try to open IPhoto it says "You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto." I have been through the discussion lists and have seen other people having the same iss

  • Deleted iphoto off my phone

    Somehow iPhoto has been deleted off my iPhone 4S. I can not figure out how to get the iPhoto app back on to my phone.

  • Can't put Icons on Second Monitor

    All of a sudden I cannot move icons from the desktop on my main monitor to the desktop on my secondary monitor. There's no problem putting application windows on the second monitor but icons just slide back to the main monitor's desktop. I tried rest

  • Best Training for FCE 4

    Hi there everybody! I was wondering if there is any training for FCE 4 that everyone likes better than the others. I just finished FCE 4 Apple Pro Series by Diana Weynand, but that still left me with a lot of questions. I don't mind spending a little