Generate Request XML with input from excel using Groovy
I am trying to generate Request XML using excel sheet. Can someone please look into this and help me out.
I am trying to write groovy script to pick nodes(customer_info, un:id, un:org et.c) from excel.I've attached a sample XML, which is my expected output from the groovy script.
(I can use Datasource later to test this with different values. But the first step is to generate the XML)
Also, note that the sample XML i shared has some child nodes (lp:time)that need not be present everytime, but I should be able to add it in request xml, if the excel sheet has that flag set as yes.
Note: I don't have any excel sheet prepared that serves as input here.
Thanks in advance !