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.

Getting Started<br />

14.2.3.1 getAPIVersion<br />

The getAPIVersion() operation returns <strong>the</strong> version details of <strong>the</strong> <strong>Reports</strong> Server in<br />

XML format. This operation takes no parameters.<br />

Note: getAPIVersion is <strong>the</strong> only operation that returns <strong>the</strong><br />

entire SOAP response along with <strong>the</strong> result (in a string). The o<strong>the</strong>r<br />

operations, e.g., runJob return <strong>the</strong> response as an XML block<br />

embedded within <strong>the</strong> SOAP response.<br />

To view <strong>the</strong> getAPIVersion response:<br />

1. Click <strong>the</strong> getAPIVersion link. The Test page should display no parameters and<br />

include only a Invoke but<strong>to</strong>n <strong>to</strong> submit <strong>the</strong> request.<br />

2. Click Invoke. The SOAP response is displayed in a new window.<br />

The following is a sample response of a getAPIVersion operation:<br />

<br />

- <br />

- <br />

- <br />

9.0.4.0.9<br />

<br />

<br />

<br />

14.2.3.2 getServerInfo<br />

The getServerInfo(String serverName, String authId)operation takes<br />

two parameters and returns <strong>the</strong> <strong>Reports</strong> Server information in an XML format.<br />

The valid parameters are :<br />

■ serverName: A valid non-null server name. This operation returns an error if <strong>the</strong><br />

specified server is not running in <strong>the</strong> network.<br />

■ authId: A string in <strong>the</strong> form of username/password, must be specified for a<br />

secured server. This parameter is ignored for a non-secure server.<br />

To view <strong>the</strong> getServerInfo response:<br />

1. Click <strong>the</strong> getServerInfo link. The Test page should display <strong>the</strong> relevant<br />

parameter fields and an Invoke but<strong>to</strong>n <strong>to</strong> submit <strong>the</strong> request.<br />

2. Enter <strong>the</strong> <strong>Reports</strong> Server name (param0) and authid(param1).<br />

3. Click Invoke. The SOAP response is displayed in a new window.<br />

The following is a sample output of <strong>the</strong> getServerInfo operation:<br />

<br />

<br />

incq246bc<br />

2588<br />

27-May-2003 10:09:34<br />

<br />

<br />

Using <strong>the</strong> <strong>Oracle</strong> <strong>Reports</strong> <strong>Web</strong> Service 14-5

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

Saved successfully!

Ooh no, something went wrong!