How to extract values from an xml list in Mule foreach
I have a following SOAP response :- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <retrieveAllDataResponse xmlns="http://services.test.com/schema/MainData/V1"> <retrieveAllData> <Response>The Data retrieved from the Database</Response> <Id>1231</Id> <Name>test1</Name> <Age>560</Age> <Designation>Software Engineer</Designation> </retrieveAllData> <retrieveAllData> <Response>The Data retrieved from the Database</Response> <Id>165</Id> <Name>test2</Name> <Age>561</Age> <Designation>Senior Software Engineer</Designation> </retrieveAllData> <retrieveAllData>