Pass Multi Values of Arrays in SOAP UI
Hi ,
we need to send multi lines of data for the SOAP Request Call , for example i've multi year of rents & want to send that in the request , how can i apply that logic in SOAPUI !!!
Using the below SOAP Env Header
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:ep4="http://schemas.datacontract.org/2004/07/EP4.Integration.Entities" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ep41="http://schemas.datacontract.org/2004/07/EP4.Integration.Entities.Common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
****** The repeated Information
<ep4:RentInformations>
<ep4:RentInfo>
<ep4:ActualValue>12000</ep4:ActualValue>
<ep4:DiscountType>1</ep4:DiscountType>
<ep4:DiscountValue>0</ep4:DiscountValue>
<ep4:FromDate>2020-01-01T09:00:00</ep4:FromDate>
<ep4:ToDate>2021-12-31T09:00:00</ep4:ToDate>
<ep4:Value>12000</ep4:Value>
</ep4:RentInfo>
</ep4:RentInformations>
Want to apply the same logic of the below arrays in SOAP Request Test Done Through SOAPUI
<RentInformations attr0="RentInfoArray" isNull="false">
<RentInfoArray0>
<ActualValue>48000</ActualValue>
<DiscountType>1</DiscountType>
<DiscountValue>0</DiscountValue>
<FromDate>10/21/2019 12:00:00 AM</FromDate>
<ToDate>10/20/2020 12:00:00 AM</ToDate>
<Value>48000</Value>
</RentInfoArray0>
<RentInfoArray1>
<ActualValue>4000</ActualValue>
<DiscountType>1</DiscountType>
<DiscountValue>0</DiscountValue>
<FromDate>10/21/2020 12:00:00 AM</FromDate>
<ToDate>11/20/2020 12:00:00 AM</ToDate>
<Value>4000</Value>
</RentInfoArray1>
</RentInformations>