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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Deploying Your <strong>Reports</strong><br />

■ A URL<br />

To run a report from a browser, use <strong>the</strong> URL syntax. The <strong>Reports</strong> Servlet (and CGI,<br />

for backward compatibility) converts <strong>the</strong> URL syntax in<strong>to</strong> an rwclient command<br />

line request that is processed by <strong>Oracle</strong> Application Server <strong>Reports</strong> Services. You<br />

can give your users <strong>the</strong> URL syntax needed <strong>to</strong> make <strong>the</strong> report request from <strong>the</strong>ir<br />

browser, or you can add <strong>the</strong> URL syntax <strong>to</strong> a <strong>Web</strong> site as a hyperlink. The<br />

remainder of this chapter discusses this method in more detail.<br />

■ Via <strong>Oracle</strong>AS Portal<br />

The <strong>Oracle</strong>AS Portal component enables you <strong>to</strong> add a link <strong>to</strong> a report in an<br />

<strong>Oracle</strong>AS Portal page or portlet, or <strong>to</strong> output report results directly in<strong>to</strong> a portlet.<br />

Each report link points <strong>to</strong> a packaged procedure that contains information about<br />

<strong>the</strong> report request. <strong>Oracle</strong>AS <strong>Reports</strong> Services system administra<strong>to</strong>rs use <strong>Oracle</strong>AS<br />

Portal wizards <strong>to</strong> create <strong>the</strong> packaged procedure making it more convenient and<br />

secure <strong>to</strong> publish <strong>the</strong> report via <strong>the</strong> <strong>Web</strong>. Authorized users accessing <strong>the</strong> <strong>Oracle</strong>AS<br />

Portal page group simply click <strong>the</strong> link <strong>to</strong> run <strong>the</strong> report. System administra<strong>to</strong>rs<br />

can run <strong>the</strong> report directly from <strong>the</strong> wizard. See <strong>the</strong> <strong>Oracle</strong>AS Portal online help for<br />

more information.<br />

Refer <strong>to</strong> <strong>Publishing</strong> a Report in <strong>Oracle</strong>AS Portal for more information about how<br />

<strong>to</strong> publish your report as a portlet.<br />

■ A packaged procedure<br />

SRW.RUN_REPORT is a built-in that runs a <strong>Reports</strong> Runtime command. When you<br />

specify SRW.RUN_REPORT, set <strong>the</strong> SERVER option <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Server name <strong>to</strong><br />

cause <strong>the</strong> SRW.RUN_REPORT command <strong>to</strong> behave as though you executed an<br />

rwclient command.<br />

Refer <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Builder online help for more information.<br />

■ A <strong>Web</strong> service<br />

You can expose <strong>Oracle</strong>AS <strong>Reports</strong> Services as a <strong>Web</strong> service and <strong>the</strong>n call it from<br />

any <strong>Web</strong> service aware environment (e.g., a Java application).<br />

13.3 Deploying Your <strong>Reports</strong><br />

Once you’ve created your report, you can deploy it so that end users can view it. This<br />

section describes how <strong>to</strong> deploy a report with a paper layout (i.e., REP, RDF, XML, or<br />

JSP report) and how <strong>to</strong> deploy a report with a <strong>Web</strong> layout (i.e., a JSP report).<br />

Note: For an example on building and testing a JSP-based <strong>Web</strong><br />

report, refer <strong>to</strong> <strong>the</strong> <strong>Oracle</strong> <strong>Reports</strong> Tu<strong>to</strong>rial and <strong>the</strong> "Building a<br />

JSP-Parameter Form for a <strong>Web</strong> Report" chapter in <strong>the</strong> <strong>Oracle</strong> <strong>Reports</strong><br />

Building <strong>Reports</strong> manual.<br />

The following table describes which method you can use <strong>to</strong> deploy your report,<br />

depending on <strong>the</strong> type of report.<br />

Table 13–4 Methods for Deploying a Report<br />

Type of Report Method Reason for Using<br />

Report with paper<br />

layout (REP, RDF, XML)<br />

Deploying a Report<br />

with a Paper Layout<br />

Method for deploying a report<br />

with only a paper layout.<br />

Running Report Requests 13-5

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

Saved successfully!

Ooh no, something went wrong!