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.

A.1.8 rwserver<br />

Command Overview<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver<br />

+report=test.rdf+SCHEDULE="every first fri of month from 15:53 Oct 23, 1999<br />

retry 3 after 1 hour"+destype=file+desformat=pdf+desname=test.pdf<br />

Example 11: Using a secured <strong>Reports</strong> Server<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+r<br />

eport=test.rdf+userid=scott/tiger@mydb+desformat=pdf+destype=fil<br />

e+desname=test.pdf+AUTHID=myadmin/myadmin<br />

Example 12: Using a key file<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?key1<br />

where key1=key defined in <strong>the</strong> cgicmd.dat file (<strong>the</strong> keyname should be <strong>the</strong> first<br />

parameter)<br />

or<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+u<br />

serparam=12+CMDKEY=key1<br />

*when used with cmdkey, it can be anywhere in <strong>the</strong> URL<br />

Example 13: Running a report with a Parameter Form<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver<br />

+report=test.rdf+userid=scott/tiger@mydb+destype=cache+desformat<br />

=htmlcss+PARAMFORM=yes<br />

Example 14: Running a report with e-mail notification<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver<br />

+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=<br />

pdf+desname=test.pdf+NOTIFYSUCCESS="emp@comp.com"+NOTIFYFAILURE<br />

="admin@comp.com"<br />

Example 15: Running a report that specifies a URL <strong>to</strong> be fetched with <strong>the</strong> URL<br />

engine<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver<br />

+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=<br />

pdf+desname=test.pdf+JOBTYPE=rwurl+URLPARAMETER="http://www.oracle.<br />

com"<br />

Example 16: Running a report with <strong>the</strong> traceopts enabled<br />

http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver<br />

+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=<br />

pdf+desname=test.pdf+TRACEOPTS=trace_prf+TRACEMODE=trace_replace<br />

The rwserver command invokes <strong>the</strong> <strong>Reports</strong> Server. The <strong>Reports</strong> Server processes<br />

client requests, which includes ushering <strong>the</strong>m through its various services, such as<br />

au<strong>the</strong>ntication and authorization checking, scheduling, caching, and distribution<br />

(including distribution <strong>to</strong> cus<strong>to</strong>m or pluggable output destinations). <strong>Reports</strong> Server<br />

also spawns runtime engines for generating requested reports, fetches completed<br />

reports from <strong>the</strong> <strong>Reports</strong> cache, and notifies <strong>the</strong> client that <strong>the</strong> job is ready.<br />

Example: rwserver -install myrepserver batch=yes au<strong>to</strong>start=yes<br />

Command Line Options A-13

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

Saved successfully!

Ooh no, something went wrong!