Connector Developer Program

Test Connector

This section explains the steps to verify the lookup services implemented in the Connector.

1. Publish the Provider

Note:- Download the sample Salesforce Connector project from the end of Define Business Objects section.

Publish the DemoSalesforceProvider Provider project from the CloudStreams Development perspective.

For more information on how to publish the Connector, see Publishing Connector.

2. Create the Connection

2.1 Go to the Integration Server Administrator page, and click Solutions > CloudStreams > Providers > Salesforce.

Designer

2.2 Click the connector name Salesforce from the Connectors list.

Designer

2.3 Select Configure New Connection.

Designer

2.4 Switch to Advanced view and provide the connection details by selecting the IS Package, Connection Type, Folder Name, Connection Name, Server URL, and OAuth 2.0 authentication details(Client ID, Consumer Secret, Access Token, and Refresh Token).

Example:
Package: Default
Connection Type: SAG_Connection
Folder Name: Salesforce
Connection Name: salesforceConnection
Server URL: https://instance.salesforce.com
Refresh URL: https://login.salesforce.com/services/oauth2/token
OAuth 2.0 authentication details (Client ID, Consumer Secret, Access Token, Refresh Token, Refresh URL)
Session Management: auto

Designer

Designer

2.5 Save and Enable the connection.

Designer

3. Create and Execute Cloud Connector Service

For more information on how to test the Connector, see Connector Testing.

3.1 Switch to Designer >Service Development perspective, right-click the folder where you want to create Cloud Connector Service, and click New > Cloud Connector Service.

Designer

The Create a New Cloud Connector Service screen appears.

3.2 Fill in the name of the Service.

Designer

Click Next. The Select the Connector screen appears.

3.3 Select the Connector.

Designer

Click Next. The Select the Connection Pool screen appears.

3.4 Select the Connection.

Designer

Click Finish. The Resource page appears.

3.5 Click the edit icon adjacent to Resource Name to select the resource.

Designer

The Select the Resource screen appears.

3.6 Select create resource.

Designer

Click Next. The Select the Business Object screen appears.

3.7 Select the Business Object to create a record, example: Account.

Designer

Click Next. The Select Fields screen appears.

3.8 Select the Business Object Fields.

Designer

Click Finish and Save the Cloud Connector Service.

3.9 Select the Cloud Connector Service and Run the Service.

Designer

Enter the values for the input fields and Click OK to run the service.

Designer

The HTTP call is made and the response from Salesforce is shown in the Results tab.