01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Registering Destination Types with <strong>the</strong> Server<br />

3. The runtime engine creates/processes <strong>the</strong> destination objects (which include file<br />

lists for specific destinations as well as any properties related <strong>to</strong> those<br />

destinations) and <strong>the</strong> report output; <strong>the</strong> runtime engine sends <strong>the</strong> destination<br />

objects <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Server and <strong>the</strong> report output <strong>to</strong> cache.<br />

4. The <strong>Reports</strong> Server sends <strong>the</strong> destination objects <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Server's<br />

destination component.<br />

5. The destination component of <strong>the</strong> <strong>Reports</strong> Server fetches <strong>the</strong> report output from<br />

cache.<br />

6. The <strong>Reports</strong> Server destination component sends <strong>the</strong> report and <strong>the</strong> destination<br />

objects (which specify how <strong>the</strong> destination device should handle <strong>the</strong> output) <strong>to</strong> <strong>the</strong><br />

appropriate destination handler.<br />

7.2 Registering Destination Types with <strong>the</strong> Server<br />

Before <strong>Oracle</strong>AS <strong>Reports</strong> Services can send a report <strong>to</strong> a particular destination type,<br />

<strong>the</strong> type must be a default type (printer, e-mail, cache, or file) or a type registered in<br />

<strong>the</strong> server's configuration file, server_name.conf. The configuration file contains a<br />

destination element for registering destination types that are valid for your reports.<br />

You can register anywhere from zero <strong>to</strong> any number of destination types.<br />

Registering a destination type with <strong>the</strong> server involves:<br />

■ Setting Up a Destination Section in <strong>the</strong> Server Configuration File<br />

■ Entering Valid Values for a Destination<br />

These tasks are described in <strong>the</strong> following sections.<br />

7.2.1 Setting Up a Destination Section in <strong>the</strong> Server Configuration File<br />

To set up a destination section in <strong>the</strong> server_name.conf file:<br />

1. Open <strong>the</strong> server configuration file with your preferred text edi<strong>to</strong>r.<br />

You'll find <strong>the</strong> server configuration file in <strong>the</strong> following direc<strong>to</strong>ry (Windows and<br />

UNIX use <strong>the</strong> same path):<br />

ORACLE_HOME\reports\conf\server_name.conf<br />

2. If <strong>the</strong> configuration file does not have a destination section, create one<br />

underneath <strong>the</strong> element that precedes it in <strong>the</strong> configuration file's data type<br />

definition file (rwserverconf.dtd) section.<br />

Note: The server configuration file follows <strong>the</strong> order of elements<br />

defined in <strong>the</strong> file's related document type definition file (ORACLE_<br />

HOME\reports\dtd\rwserverconf.dtd). Place destination<br />

after <strong>the</strong> elements that precede it, whichever are present in your<br />

server configuration file.<br />

3. Use <strong>the</strong> following syntax <strong>to</strong> register all <strong>the</strong> destination types you will use for<br />

outputting reports:<br />

<br />

<br />

<br />

<br />

<br />

Configuring Destinations for <strong>Oracle</strong>AS <strong>Reports</strong> Services 7-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!