For the SOAP SSO use case, my recommendation would be:
Personally, I would avoid manually parsing XML strings unless absolutely necessary. Import Mappings are much easier to maintain and less error-prone.
For the CSV requirement without third-party modules:
FileDocument.One thing to keep in mind is that manual CSV parsing can become complex when handling:
So if you go with manual parsing, make sure your CSV format is well-defined and controlled.
For exporting, I would recommend generating an Excel file directly rather than using a document template, since document templates are intended for PDF/DOC-style output rather than true Excel workbooks.
Kindly mark this as the accepted answer if it helps.