Skip to Content

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.

DISCLAIMER

This document summarizes the planned enhancements in the next SAP BI 4.2 Support Package 5 in BIPlatform. As the SAP BI 4.2 SP5 content is still subject to change, please consider the below legal disclaimer statement:

The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP. This presentation is not subject to your license agreement or any other service or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation and SAP’s strategy and possible future developments, products and or platforms directions and functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this document is not a commitment, promise or legal obligation to deliver any material, code or functionality. This document is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This document is for informational purposes and may not be incorporated into a contract. SAP assumes no responsibility for errors or omissions in this document, except if such damages were caused by SAP´s willful misconduct or gross negligence.

All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions

 

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

 

  1. Log on to the Central Management Console (CMC) as an administrator.
  2. In the CMC, click Applications.

A list of applications are displayed.

  1. Right-click  RESTful Web ServiceProperties .

The Properties dialog box appears.

  1. 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:

  1. Stop the Tomcat server.
  2. Access the file propertiesin the following file-path: <tomcat-location>\webapps\biprws\WEB-INF\config\custom.
  3. Specify the values of following parameters in the file based on your custom requirements and save the file.
    1. <Default_Number_Of_Objects_On_One_Page>
    2. <Enterprise_Session_Token_Timeout_In_Minutes>
    3. <Session_Pool_Size>
    4. <Session_Pool_Timeout_In_Minutes>
  4. 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.

 

 

To report this post you need to login first.

25 Comments

You must be Logged on to comment or reply to a post.

  1. Ivan Yin

    Hi Ashok,

    Great share!

    Just one small question.

    Does this change mean we don’t need to make sure WACS is running and enabled if we want to use BI Admin’s Cockpit and other applications that need RESTFUL Web services from BI 4.2 SP5?

    Regards,
    Ivan

    (1) 
    1. Ashok Rajashekar Post author

      Hi Ivan,

      Thanks for your feedback.

      Yes. Once the RESTful web services URL is updated with the Tomcat server and Port. All Applications will be automatically use the Tomcat one including BI Admin cockpit.

      Thanks,
      Ashok R

       

       

      (0) 
  2. PHILIPPE REMIS

    hi Ashok,

    two questions :

    • the restful service in WACS must be remove after this ‘split’?
    • biprws is a new application, include in war files ? deploy is automatic or manual ?

    thanks

    regards

    phil

    (0) 
    1. Ashok Rajashekar Post author

      Hi Philippe,

      Thanks for your questions.

      1. Biprws can be deployed through wdeploy with split configuration.

      Just that the content won’t be split because it is not necessary.

      2. deployment will be same and there is no difference. it comes automatically when we install the product.

       

      Thanks,
      Ashok R

       

       

      (0) 
        1. Ashok Rajashekar Post author

          Hi Dennis,

           

          Restful web services are part of BOE.war file  and will be deployed as part of full build and patch build installations.

           

          Thanks,

          Ashok R

           

           

          (0) 
              1. Doug Bonomo

                They are apparently not part of the BOE.war if there is a BIPRWS.war file.

                Also, any recommendations on these values?

                <Default_Number_Of_Objects_On_One_Page>

                <Enterprise_Session_Token_Timeout_In_Minutes>

                <Session_Pool_Size>

                <Session_Pool_Timeout_In_Minutes>

                Thanks
                Doug

                (1) 
  3. Former Member

    Hi Ashok,

    This does not work for us.

    When I try to launch WEBI using FIORI Launchpad, I get below error.

    it works well if I use RWS deployed on WACS server.

    Also, can you please guide more about the values which should be added for below parameters :

    1. <Default_Number_Of_Objects_On_One_Page>
    2. <Enterprise_Session_Token_Timeout_In_Minutes>
    3. <Session_Pool_Size>
    4. <Session_Pool_Timeout_In_Minutes>

    Regards,

    Aakash Gupta

    (0) 
        1. Ashok Rajashekar Post author

          HI Aakash,

          Did you install the Release to customer build downloaded from service Market place?

          Did you change the Tomcat Port in the CMC–>Applications–>RESTful URL?

           

          Thanks,
          Ashok R

           

           

          (0) 
          1. Former Member

            Hi Ashok,

            I have downloaded it from SAP ONE Support Launchpad -> Downloads,

            We have a different server which contains web tier on which tomcat is installed.

            I have specified Tomcat Port No and hostname in the CMC–>Applications–>RESTful URL and I get the above error when I open a webi report.

            Regards,

            Aakash

             

            (1) 
    1. Roopa Puranik

      Hi Ashok,

      I am experiencing the same issue. I am able to login to /BILaunchpad via Tomcat URL but when I try to access any reports I get the “Not Found (RWS 00005)” error.

      I upgraded from 4.2 SP4 to SP5, tomcat is on a different server and CMS on different server. I updated the  RESTful URL to use tomcat host and port.

      I left the default version of biprws.properties as is.

      http://<tomcat_host&gt;:8080/biprws — I am able to access this URL ok in the browser.

      Any advise!

      Thanks, Roopa

      (0) 
  4. Former Member

    Thanks Ashok for the great blog, I need your help, we decoupled Webservices from WACS and using tomcat as you described, now im trying to expose new “BILaunchpad” url to internet through proxy (apache) , I couldn’t find any document about it, I tried doing it by exposing “/biprws”, however no luck. I already have /BOE/BI and /BOE/CMC links working fine externally, i did similar config for “/biprws” as “/BOE”  in apache config file.

     

    (0) 
  5. Brian Kudera

    In a distributed environment where the Tomcat web application node is in the DMZ and the processing and management nodes are inside the LAN, what servers should be installed on the web application node inside of the DMZ? The RESTful service? Or can this service be installed inside the lan?

    (0) 
    1. Hayden Gill

      The RESTful service is installed on the web application node, so needs to be accessible to the users.  It connects back to the processing/management servers in the DMZ

      (0) 
      1. Brian Kudera

        Hi Hayden, I did get this resolved by:

        1. Installing the RESTful services and WACS inside the LAN
        2. Uninstalling all components from the web application tier besides Tomcat.
        3. Now, the only thing running on the web application node is Tomcat, and no BI Platform servers.

         

        (0) 
  6. Romulo Jose Morera Galvan

    Is It planned to support other WAS than tomcat? We are running netweaver 7.5 And we would like to use webdispatcher to load balance restful webservices due HA And performance reasons.

    (0) 
    1. Ashok Rajashekar Post author

      Hi Romulo,

       

      Thanks for your question. yes we are planning incrementally to support all other WAS. we are planning for websphere first and later NW.

       

      Regards,

      Ashok R

      (0) 

Leave a Reply