Configuring Billiving Operations

This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring Billiving Operations

To use the Billiving connector, add the  <billiving.init>  element in your configuration before carrying out any other Billiving operations. 

Before you start performing various operations with the connector, make sure to import the Billiving certificate to your ESB client keystore.

Follow the below mentioned steps to add valid certificate to access Billiving API over https into the ESB client keystore:

  1. Extract the certificate from browse by navigating to 'https://www.billiving.com/' and click the lock icon on the address bar to view the certificate.
  2. Place the downloaded certificate into "BILLIVING_CONNECTOR_HOME/src/test/resources/keystores/products" folder.
  3. Navigate to "BILLIVING_CONNECTOR_HOME/src/test/resources/keystores/products/" using command prompt and execute the following command.
  4. This command will import Billiving certificate in to keystore. Give "wso2carbon" as password.To import the certificate give "wso2carbon" as password. Press "Y" to complete certificate import process.

     keytool -importcert -file CERT_FILE_NAME -keystore wso2carbon.jks -alias "CERT_NAME" 

The Billiving API uses basic authentication via headers. For more information on authentication,  see https://www.billiving.com/api2/help# .

init
<billiving.init>
	<apiUrl>{$ctx:apiUrl}</apiUrl>
    <accessToken>{$ctx:accessToken}</accessToken>
</billiving.init>
Properties  
  • apiUrl The URL to access the Billiving API.
  • accessToken:  The access token of a valid Billiving account.

Now that you have connected to Billiving, use the information in the following topics to perform various operations with the connector.