Task-1: Reading data with API Call connector
Enter web service access information
Enter the relevant web service access information where data reading will be performed.

Task-2: Sending data to API with API Call connector
Select Loop mode
Select the “Loop” option to indicate that work will be done in a loop on the array data from the previous task.
Specify XPath
Write as XPath which part of the output key information value entered in the previous task (“soapResponse”) should be processed as an array.When writing XPath, add the ”#/” sign to the key information (“soapResponse”) to indicate that XML operations will be performed on the previous data. Then enter the path where the array elements are located as XPath. Since SOAP XML usually contains namespaces, writing XPath with these namespaces can be difficult. In this case, it is recommended to write the local-name() method within the XPath. For this example, the following should be written in the XPath field:
Enter target API access information
Enter the relevant API access information where the data will be sent.
Enter template message information
Enter the template message information you want to send. If you want to use the values of elements in the loop within the template message information, add the relevant data within the element to the template using the “LOOP_VARIABLE” expression. Along with LOOP_VARIABLE, the XPath information to access the SOAP XML data within the element indicated as the target for the loop must be entered.

{{soapResponse#//*[local-name()='Items']/*[local-name()='Item']}} is executed on the soapResponse data returned from the previous task, 3 elements are returned, indicating that this task will run 3 times.
In the first run, the LOOP_VARIABLE value will contain the following XML.

