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.6 rwservlet<br />

Command Overview<br />

Example:<br />

rwconverter scott/tiger@mydb stype=rdffile source=inven1.rdf<br />

dtype=xmlfile dest=inven1_new.xml<br />

rwservlet translates and delivers information between ei<strong>the</strong>r a <strong>Web</strong> server or a J2EE<br />

Container (for example, OC4J) and <strong>the</strong> <strong>Reports</strong> Server, enabling you <strong>to</strong> run a report<br />

dynamically from your <strong>Web</strong> browser. Optionally, it can use <strong>the</strong> In-Process Server,<br />

which reduces <strong>the</strong> maintenance and administration of <strong>the</strong> <strong>Reports</strong> Server by providing<br />

a means for starting <strong>the</strong> server au<strong>to</strong>matically, whenever it receives <strong>the</strong> first request<br />

from <strong>the</strong> client.<br />

Note: When you use <strong>the</strong> rwservlet command <strong>to</strong> run a JSP, you<br />

can use all keywords applicable <strong>to</strong> rwservlet. For more<br />

information on running a JSP with rwservlet, see Running<br />

Report Requests.<br />

Note: The following keywords are commands ra<strong>the</strong>r than<br />

keyword-value pairs, i.e., commands are entered by <strong>the</strong>mselves<br />

without a corresponding value: SHOWENV,<br />

SHOWJOBSSHOWMAP, , SHOWMYJOBS, KILLJOBID,<br />

PARSEQUERYDELAUTH, , GETJOBID, and GETSERVERINFO.<br />

Examples<br />

http://myias 1 .mycomp.com:7779 2 /reports/rwservlet?server=myrepserver+<br />

report=myrepo.rdf+desname=sample.pdf+desformat=pdf+destype=fileh<br />

ttp://myias.mycomp.com:7779/reports/rwservlet?server=myrepserver+<br />

authid 3 =myrepuser/myreppassword+report=myrepo.rdf+desname=sample<br />

.pdf+desformat=pdf+destype=file<br />

Example 1: Running a paper report <strong>to</strong> a browser (cache)<br />

http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+<br />

report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+DESTYPE=ca<br />

che<br />

Example 2: Sending a report output <strong>to</strong> a file<br />

http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+<br />

report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+DESTYPE=fi<br />

le+DESNAME=c:\mydir\test.<br />

Example 3: Sending a report output <strong>to</strong> a printer<br />

http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+<br />

report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+DESTYPE=pr<br />

inter+DESNAME=myprinter<br />

1 <strong>Oracle</strong> Application Server instance<br />

2 Port where <strong>the</strong> <strong>Reports</strong> servlet is running<br />

3 Secured server only<br />

Command Line Options A-9

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

Saved successfully!

Ooh no, something went wrong!