I never had created a scripted XML using groovy or jython for the whole response. I am wondering if you can share some script for the below output.
Is the question how to create XML using Groovy? If so there are many helpful articles online about how to do this. Here is one example but I am sure you can find more examples.
thanks, let me go through this one.