Connect to a project using your authentication credentials.
Procedure
- Get the project:
String projectUriStr = "sap://localhost:19011/ws1/p1“;
Uri uri = new Uri.Builder(projectUriStr).create();
project = sdk.getProject(uri, credentials);
- Connect to the project:
Here, 60000 refers to the time, in
milliseconds, that the ESP Server waits for the
connection call to complete before timing out.