1.Introduction to SAP BI Platform RESTful web services:
The SAP Business Intelligence platform RESTful web service SDK lets you access the BI platform using the HTTP protocol. You can use this SDK to log on to the BI platform, navigate the BI platform repository, access resources, and perform basic resource scheduling. Both XML and JSON request and response formats are supported.
This Blog explains the RESTful web services can also be supported on Tomcat application server.
2.Decoupling of BI Platform RESTful web services from WACS:
Currently, Rest SDK runs as service in WACS and can be deployed only on WACS server. Need to make RestSDK run as independent service which should be scalable and should run on Tomcat server.
As user I should be able to run this on latest Tomcat server (Tomcat version 8.5.7 and 9 both) being supported for SP05.
From BI 4.2 SP05 onwards, SAP BI platform architecture now supports both the WACS server and the Tomcat server for configuring and using RESTful Web service APIs.
By Default RESTful web services will be deployed in the BI 4.2 SP05 full build and patch build.
RESTful web services will continue to run on WACS as well.
Customers will have option to point the REST URL either to WACS or Tomcat. This ensures backward compatibility.
3.How to configure the RESTful web services on Tomcat URL:
In default installations of the BI platform, the base URL is defined as http://<servername>:6405/biprws
- Log on to the Central Management Console (CMC) as an administrator.
- In the CMC, click Applications.
A list of applications are displayed.
- Right-click RESTful Web ServiceProperties .
The
Properties dialog box appears.
- In the Access URL text box, type the name of the base URL for RESTful web services.
For example, type http://<servername>:<portnumber>/biprws.
Replace the Restful Web services URL port from 6405 to 8080. Ie., WACS server port to Tomcat Application server port.
(if the Tomcat Application server is running on 8080 port)
4. How to set the RESTful Web services parameter values as part of server configuration:
If you are using a non-WACS server such as Tomcat, you can set the RESTful Web service parameter values as part of server configuration.
To configure the RESTful web services for Apache Tomcat application server, follow the procedure given below:
- Stop the Tomcat server.
- Access the file propertiesin the following file-path: <tomcat-location>\webapps\biprws\WEB-INF\config\custom.
- Specify the values of following parameters in the file based on your custom requirements and save the file.
- <Default_Number_Of_Objects_On_One_Page>
- <Enterprise_Session_Token_Timeout_In_Minutes>
- <Session_Pool_Size>
- <Session_Pool_Timeout_In_Minutes>
- Restart the Tomcat server.
Note: The default version of biprws.properties is available at <tomcat-location>\webapps\biprws\WEB-INF\config\default and your configuration for above listed parameters in custom file path overrides the default settings once you restart the server.