Enonic version: 7.1.3
OS: Ubuntu 19.10
I’ll be importing data from a certain API, which provides an XML in the response. My main goal is to created objects in Content Studio based on the response sent back to me.
One important thing to note is that the response sent back from the API is quite large, the XML has around 160K lines.
Does anybody know a good strategy for doing this, in terms of fetching data from the API? What I mean is, is it okay for me to do this straight on Enonic by using http-client and then converting the XML to JSON or, since we’re dealing with a very large amount of data, will I be better off handling all this directly in JAVA (request + conversion)?