View the Oracle Reports Web service WSDL.

19-6 Publishing Reports to the Web with Oracle Reports Services ■ runJob

19.3.1.1 getAPIVersion

The getAPIVersion operation returns the version details of the Reports Server in XML format. This operation takes no parameters. To view the getAPIVersion response:

1. Navigate to the Test Web Service page in Oracle Enterprise Manager. See steps 1-3

in Section 19.3.1, Using Oracle Enterprise Manager to Test RWWebService .

2. From the Operation drop-down list, select getAPIVersion.

The Test page does not display any parameters.

3. Click Test Web Service.

The SOAP response is displayed in the Response tab. The following is a sample response of a getAPIVersion operation: ?xml version=1.0 encoding=UTF-8 ? SOAP-ENV:Envelope xmlns:SOAP-ENV=http:schemas.xmlsoap.orgsoapenvelope xmlns:xsi=http:www.w3.org2001XMLSchema-instance xmlns:xsd=http:www.w3.org2001XMLSchema SOAP-ENV:Body ns1:getAPIVersionResponse xmlns:ns1=http:oracle.reports.rwclientRWWebService.wsdl SOAP-ENV:encodingStyle=http:schemas.xmlsoap.orgsoapencoding return xsi:type=xsd:string11.1.1.1.0return ns1:getAPIVersionResponse SOAP-ENV:Body SOAP-ENV:Envelope

19.3.1.2 getServerInfo

The getServerInfoString serverName, String authId operation takes two parameters and returns the Reports Server information in an XML format. The valid parameters are : ■ serverName: A valid non-null server name. This operation returns an error if the specified server is not running in the network. ■ authId: A string in the form of usernamepassword, must be specified for a secured server. This parameter is ignored for a non-secure server. To view the getServerInfo response:

1. Navigate to the Test Web Service page in Oracle Enterprise Manager. See steps 1-3

in Section 19.3.1, Using Oracle Enterprise Manager to Test RWWebService .

2. From the Operation drop-down list, select getServerInfo.

The Test page displays the relevant parameter fields in the Input Arguments section. Note: getAPIVersion is the only operation that returns the entire SOAP response along with the result in a string. The other operations, for example, runJob return the response as an XML block embedded within the SOAP response.