From the Operation drop-down list, select getAPIVersion.

19-10 Publishing Reports to the Web with Oracle Reports Services timingInfo queued27-May-2003 10:22:00queued started27-May-2003 10:22:00started finished27-May-2003 10:22:00finished timingInfo job serverQueues

19.4 Using RWWebServiceUtil to Test RWWebService

Oracle Reports installation provides a sample RWWebServiceUtil webservice testing utility class. This is available in ORACLE_HOMEreportsjlibrwrun.jar. RWWebServiceUtil can be used to test various operations supported by RWWebService. The following procedure outlines the necessary steps involved in using this utility: 1. Include rwrun.jar in the classpath. 2. Run RWWebServiceUtil as a normal java program as following: ORACLE_HOME\jdk\bin\java oracle.reports.rwclient.RWWebServiceUtil 3. It displays the following usage: -endpoint url of the webservice -method web service operation to invoke runJob,getJobInfo,getServerInfo,killJob,getAPIVersion Input Parameters for runJob -cmdline command line to be used while submitting the job -sync boolean value to specify if job should be submitted in synchronous manner or asynchronous manner Input Parameters for getJobInfo -server server to be used for processing the request -jobid jobid in numeric format -authid userpassword for authentication, if server is secure Input Parameters for getServerInfo -server server to be used for processing the request -authid authid for authentication, if server is secure Input Parameters for killJob -server server to be used for processing the request -jobid jobid in numeric format -authid authid for authentication, if server is secure 4. You can use this utility to submit jobs to reports server using the following command: ORACLE_HOME\jdk\bin\java oracle.reports.rwclient.RWWebServiceUtil -endpoint http:yourmachine:portreportsrwwebservice -method runjob -cmdline report=test.rdf desformat=pdf destype=file desname=tmpoutput.pdf server=ReportsServer -sync true 5. This submits the request to the server and returns a soap response in the following format: