Hi kartik.audichya,
1. get the count of sku entries using xpath count function and store it in filter say total
2. create a property and assign it to 0, say count
3. read the count value and compare if it is less than total. if yes increment it and if no go to step 8
4. for the current value of count read the required values using xpath and store them in filters. say ((sku)) , {{location}}
5. use parse text as response step and frame an xml tag using the filter values, like below
<availabilityResponseDetail xmlns="">
<sku>{{sku}}</sku>
<location>{{location}}</location>
<isOpenBox>{{filter value}}</isOpenBox>
<availableQuantity>1000000</availableQuantity>
<rank>1</rank>
<floor>10</floor>
<advertiseMinimum>10</advertiseMinimum>
</availabilityResponseDetail>
6. store this response to a file (append mode) and loop back to count value comparison step(step 3)
7. repeat step 3 to step 6 until all the sku entries as read and stored for response
8. read the file stored as property and create a full response. like below
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soapenv:Body>
<availabilityResponseMessage xmlns="http://bestbuy.com/InventoryManagement">
{{availability_response_details_read_from_file}}
</availabilityResponseMessage>
</soapenv:Body>
</soapenv:Envelope>
Try these and let me know if it helps.
Thanks,
Venkatesh