Configuring Delete Service
A Delete service deletes the record from a dataset for the specified key value. You can configure Adapter for Terracotta DB services using
Designer. For more information about adapter services, see
Using Adapter Services.
Read the section
Before Managing Adapter Services, before you configure adapter services.
To configure an adapter service using the Delete template
1. In Designer, right-click the folder in which the service is to be contained and select New > Adapter Service.
2. Select the parent namespace, type a name for the adapter service, and click Next.
3. Select webMethods Adapter for Terracotta DB as the adapter type and click Next.
4. Select the appropriate Adapter Connection Name and click Next.
5. From the list of available templates, select the Delete template and click Finish.
The adapter service editor for the selected adapter service appears. You can select the Adapter Settings tab at any time to confirm adapter service properties such as the Adapter Name, Adapter Connection Name, and Adapter Service Template as necessary.
6. Select the Dataset tab to configure the following fields:
Field | Field Description/Action |
Dataset Name | Specify the name of the dataset in TCStore. |
Key Type | Specifies the key type which is auto populated based on the selected dataset. |
Input Key Type | Specify the key of a record. |
7. To verify input or output information for the service, use the Input/Output tab as required.
The below field is auto generated under input section of Input/Output tab:
Field | Description/Action |
key | Specify the key of a record. |
$datasetName | Specify the dataset name. Optional field, where the specified value overrides the configured value in the Dataset tab. |
The below field is auto generated under output section of Input/Output tab:
Field | Description/Action |
success | Specifies the result of the service. It can either be true or false. |
8. From the File menu, select Save.