100% found this document useful (1 vote)
1K views

RDF To XML Conversion

The document outlines 4 steps to convert an RDF report to an XML Publisher report: 1) Use the rwconverter utility to convert the RDF report to an RDF-XML format file that can be consumed by the XML Publisher conversion utility. 2) Transfer the RDF-XML file to a Unix environment using FTP. 3) Use a Java class to generate the PL/SQL package, body, and data template files from the RDF-XML file. 4) Use another Java class to generate the RTF template and log file.

Uploaded by

Abhishek Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views

RDF To XML Conversion

The document outlines 4 steps to convert an RDF report to an XML Publisher report: 1) Use the rwconverter utility to convert the RDF report to an RDF-XML format file that can be consumed by the XML Publisher conversion utility. 2) Transfer the RDF-XML file to a Unix environment using FTP. 3) Use a Java class to generate the PL/SQL package, body, and data template files from the RDF-XML file. 4) Use another Java class to generate the RTF template and log file.

Uploaded by

Abhishek Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Report Conversion RDF 2 XML

Converting RDF Report to XML Publisher Report can be done using following steps. Step 1: The utility rwconverter.exe executes, taking the source report, collector_xml_rpt.rdf and converting it to an RDF-XML format that can be consumed by the XML Publisher conversion utility. Unix: \BIN> rwconverter batch=yes source= c:\ collector_xml_rpt.rdf dest= c:\ collector_xml_rpt.xml dtype=xmlfile overwrite=yes Windows: Start Run ( and enter text rwconverter and press ok) From report builder Tools File Conversion (Give Source as collector_xml_rpt.rdf, Destination as collector_xml_rpt.xml file and Destination Type as XML in the same window we can set options accordingly.) OutPut: Will create an RDF-XML file, with all the PL/SQL logic and presentation logic to collector_xml_rpt.xml.

Step 2: Transfer the output of Step 1 collector_xml_rpt.xml to an folder on Unix environment using FTP. (Because Apps do exists in my Unix machine)

Data Model Migration Step 3: Go to path where your java oracle package exist in order to call the below class oracle.apps.xdo.rdfparser.DataTemplateGenerator cd /oracle/dev/devcomn/java java -cp .:xmlparserv2.zip oracle.apps.xdo.rdfparser.DataTemplateGenerator /export/home/mdev/rdf/clctr_xml_rpt.xml Output Files: PL/SQL Package : /export/home/mdev/rdf/clctr_xml_rptS.pls PL/SQL Body : /export/home/mdev/rdf/clctr_xml_rptB.pls DataTemplate : /export/home/mdev/rdf/clctr_xml_rpt_template.xml

Step 4: cd /oracle/dev/devcomn/java java -cp .:xmlparserv2.zip oracle.apps.xdo.rdfparser.RTFTemplateGenerator /export/home/mdev/rdf/clctr_xml_rpt.xml Output Files: RTF Template : /export/home/mdev/rdf/clctr_xml_rpt.rtf Log File : /export/home/mdev/rdf/clctr_xml_rpt.log

Reference Link : http://ora-apps.blogspot.com/

You might also like