Using RLM Web Services

RLM has a web services interface that allows you to check out licenses from any language which can interface with JSON data and http connections.

To use the RLM Web Services interface, you will do two things:

  1. Configure RLM Cloud, as described in the previous chapter. Reprise recommends that you set up RLM Cloud and use the pre-built binaries so that you are familiar with how RLM Cloud operates.

  2. Build the web services interface into your product.


Build RLM Web services into your product

RLM Web services are documented here: https://rlmcloud.com/rlmapi/api.php

You will need the RLM Cloud access credentials to get to this site.

The second link on the left-hand side is the quick-start instructions for the RLM Web Services API, which includes links to download the sample programs. Follow these instructions.

Note

The sample programs are written in php.

When you edit the rlmweb_test_config.php file, the last 5 variables should correspond to the setup on your rlmcloud system:

$isv = "demo";

$url = "https://ls3.rlmcloud.com/api";

$customer = "apidemo";

$license_password = "demo";

$product = "demo";

Leave the first 2 variables as-is for the demo. The last 3 variables will depend on how you provisioned the customer in RLM Cloud. Set these to the customer name, license password, and product name that you want to check out.

Note

The RLM Web Services and RLM Cloud demos have pre-built license generators on the RLM Cloud demo site. When you purchase RLM Cloud, you will need to install the RLM kit so that you can create your own public-private key pair to upload to RLM Cloud.