30-08-19 08:18 AM
Hi All,
Just wondering if anyone has come across a solution of converting a collection to XML.
XML is to be then used by a SOAP API.
Similarly and not sure if this is even the best way but has anyone encountered a solution where it converts a json directly to an xml file for API consumption?
Looking forward to your inputs!
Thanks!
Brian
30-08-19 09:18 AM
31-08-19 11:50 AM
I posted the same to other question, maybe it'll work for you.
You can loop over the collection and use a multicalc to generate the desired XML.
OR you can use code stage with collInput (collection) as input and xmlResult (text) as output.
Dim sw as Object sw = new StringWriter() collInput.WriteXml(sw) xmlResult = sw.ToString()
12-03-21 09:57 AM
12-03-21 02:13 PM
12-03-21 02:16 PM
12-03-21 11:49 PM