Oracle XML Publisher Bursting Sample Program

| No Comments | No TrackBacks

<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">

    <xapi:request select="/../../LIST_G_INVOICE/G_INVOICE">

         <xapi:delivery>

              <xapi:filesystem output="/server/outputfolder/${TRX_NUMBER}.pdf" id="1234" />

         </xapi:delivery>

     <xapi:document output-type="pdf" delivery="1234">

        <xapi:template type="rtf" location="xdo://AR.INVOICE.en.US/?getSource=true">

        </xapi:template>

      </xapi:document>

   </xapi:request>

</xapi:requestset>

 

Here we are trying to send the PDF output to Server Output Folder. 

 

xapi:delivery - Explains where the output should be delivered

xapi:filesystem - explains the output is destined to filesystem

xapi:template - specifies the template shortcode prefixed with app short code, for eg: AR.INVOICE - AR-app short code and INVOICE is the xml template short code.

 

location="xdo://AR.INVOICE.en.US/?getSource=true"

 

Above line is very important, it takes care of pulling the latest template uploaded in the XML Publisher Administrator responsibility, you don't need to put your template hanging in any UNIX servers.

 

en - Language

US - Territory code (when you create template definition, you make sure that you select United States or other country)

 

The same above example holds good for sending the output through email, fax, etc.,

No TrackBacks

TrackBack URL: http://chandramouly.com/MT/mt/mt-tb.cgi/12

Leave a comment

About this Entry

This page contains a single entry by chandramouly published on April 27, 2010 2:47 PM.

UNIX Script for Sending Oracle Concurrent program Output or log file was the previous entry in this blog.

oracle apps scripts and commands is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.