I have read that TransformXml processor can convert other files to regular xml. i need to convert my soap response into xml file should i use TransformXml or should i make it via groovy code?
Asked
Active
Viewed 636 times
0
-
Not sure if I understand the problem correct. Do you have any sample input and output data which you want transfrom? – Rao Aug 24 '17 at 08:43
-
Yes i have soap response with related data and i want to write it in simple xml – Aug 24 '17 at 10:27
1 Answers
1
You can use either, I'm not sure which is faster from a performance perspective. If you have an XSLT that will extract your SOAP response as XML (there are examples here on StackOverflow), then use TransformXML. Otherwise you can use Groovy in ExecuteScript, just make sure to make the slurper is namespace-aware.

mattyb
- 11,693
- 15
- 20