Once you have installed the Service Layer, you must make sure the services are working as expected. There are four checks that you can perform to verify that the Service Layer is functioning.
Check 1: Is Service Layer service registered in the System Landscape Directory (SLD)?
- Open the SLD Control Center link https://<sldaddress>:<sldport>/ControlCenter/ in your browser.
- Log in with the Landscape Administrator user ID, for example, B1SiteUser.
- Choose the Services tab.
- Check if there is an entry for Service Layer. There should be a Service Layer link and Service Layer Controller link.
Check 2: Is Service Layer Accessible?
- Open the Service Layer URL in https://<servicelayeraddress>:<servicelayerport> in your browser.
- If the link is accessible, the page titled Documentation for SAP Business One Service Layer will open.
Check 3: Are all Service Layer nodes active?
- Open the link https://<servicelayeraddress>:<servicelayerport>/balancer-manager/ in your browser.
- If the Service Layer nodes are active, the Status column will display Init Ok.
Check 4: Does Service Layer respond to login request?
- Open the link https://<servicelayeraddress>:<servicelayerport>/b1s/v1/Login in your browser.
- When the Sign in pop-up appears, carry out the following actions:
- Input the information using the JSON format: Username: {"CompanyDB": "XXX","UserName": "YYY"}.
- Change the 'XXX' to your CompanyDB and 'YYY' to your Username which is applicable for your environment.
- Input the password of your CompanyDB.
- Choose Sign in. If the login is successful, Service Layer responds with the session information as shown in the following image.
If any of the checks fail, refer to the following SAP notes on https://me.sap.com (account required):
- 3064927 - Troubleshooting Service Layer on Windows.
- 2607373 – Troubleshooting Service Layer on Linux.