You can deploy Java samples with Eclipse in your project to try out the BI
Semantic Layer RESTful Web Service SDK.
- Launch Eclipse by double-clicking the eclipse.exe file and select your
workspace. Use Eclipse 3.6 or higher.
- Create a new project.
- Select .
The Import dialog box appears.
- Expand General, select Existing Projects into
Workspace, and click Next.
- Select the Select archive file option and click
Browse.
- Browse to the sample directory and select
SLRESTWebService.zip.
- In the Projects area, select
com.sap.sl.sdk.consumption.samples and click
Finish.
The com.sap.sl.sdk.consumption.samples project folder
appears in the Package Explorer view.
- Under com.sap.sl.sdk.consumption.samples.util, open the
BaseTest.java file for editing.
- Fill in the following parameters with the values corresponding to your installation:
- CMS_SERVER_URL: the URL exposed by the server hosting the RESTful web
services
- CMS_USER: user name used in your samples to connect to the CMS
repository
- CMS_PASSWORD: password used in your samples to connect to the CMS
repository
- Under com.sap.sl.sdk.consumption.samples, right-click a
sample class and select .
The sample runs, allowing you to find out the features of the BI Semantic Layer
RESTful Web Service SDK.