With Kony Fabric, you can access external Kony SAP services by using the Kony SAP Gateway adapter. Based on your Kony SAP Gateway authentication, you can use Kony SAP libraries and objects along with the supported HTTP methods in your app.
To configure Kony SAP Gateway service in the Integration Service Definition tab, follow these steps:
Field | Description |
---|---|
Throttling |
API throttling enables you to limit the number of request calls within a minute. If an API exceeds the throttling limit, it will not return the service response.
Note: In case of On-premises, the number of nodes in a clustered environment is set by configuring the |
Note: All the fields in the Advanced section are optional.
In the Description field, provide a suitable description for the service.
To enable the proxy, select the Use proxy from settings check box. By default, the check box is cleared.
The Use proxy from settings check box dims when no proxy is configured under the Settings > Proxy.
The Operations List tab appears only after the service definition is saved.
Note: Click Operations List tab > Configure Operation. The Configured Operations list appears.
Based on your Kony SAP Gateway authentication, the system loads all tables such as libraries and objects along with supported HTTP methods.
To create operation, follow these steps:
Note: To use an existing integration service, refer to How to Use an Existing Integration Service.
To configure more operations for your Kony SAP Gateway integration service, repeat Steps a through b. You can select a new library and object, and supported operations.
Click ADD OPERATION. The system adds your operation to the Operations List page, and it also adds your new Kony SAP Gateway service into the Integration page.
Field | Description |
---|---|
Name | Enter a unique name for your operation. |
Operation Security Level |
It specifies how a client must authenticate to invoke this operation. Select one of the following security operations in the Operation Security Level field.
|
Front End HTTP Method |
Select a HTTP method that you want to invoke on the integration server. By default, the field is set to Post method. Note: The front-end HTTP methods are used for all non-SDK clients such as API Management users. |
Target HTTP Method | Select a HTTP method that you want to invoke on the back-end service from integration server. |
Operation Path |
Modify the path if required. Note: If you provide incorrect Salesforce endpoint details, the Object list will contain only _Login object. |
Field | Description |
---|---|
Front End API | It allows you map your endpoint (or) backend URL of an operation to a front-end URL. |
Server Events | Using Server Events you can configure this service to trigger or process server side events. For detailed information, refer Server Events. |
Note: All options in the Advanced section are optional.
Integration services accept only form-url-encoded
inputs for all the input parameters provided in the service input parameters (request input).
You can perform the following actions in Request Input tab:
Click Add Parameter to add an entry (if the entries for input and the output tabs does not exist).
To make duplicate entries, select the check box for the entry, click Copy and Paste.
To delete an entry, select the check box for an entry and click Delete .
Under the Body tab, provide the following details:
Field | Description |
---|---|
Name | It Contains a Unique Identifier. Change the name if required. |
Test Value | Enter a value. A test value is used for testing the service. |
Default Value | Enter the value, if required. The default value will be used if the test value is empty. |
Scope |
Select Request or Session. It is set to Request by default.
|
Datatype |
Select one of the following data types.
|
Encode |
Select the check box to enable encoding of an input parameter. For example, the name New York Times would be encoded as New%20York%20Times when the encoding is set to True. The encoding must also adhere to the HTML URL encoding standards. |
ID: The rows are created based on the selected operation. Change the value if required.
To validate the operation details, click Save and Test. For more details, refer to Test a Service Operation.
Note: If you define parameters inside a record as the session, the session scope will not get reflected for the parameters.
Note: You can view the service in the Data Panel feature of Kony Visualizer. By using the Data Panel, you can link back-end data services to your application UI elements seamlessly with low-code to no code. For more information on Data Panel, click here.
If you want to edit an existing Kony SAP service, you can edit details such as service name, authentication service information, operations.
Each operation contains four tabs, including input, attributes, output, and advanced. If you want to test an existing operation for Kony SAP service - for example, get or put - enter necessary test values in the input and the advanced tabs. The results are displayed in the JSON format. The input values can be data types, test values, and session keys.
To edit or test an existing Kony SAP integration service, follow these steps:
Copyright © 2020 Kony, Inc. All rights reserved. |