@OoBiDev Welcome to Microsoft Q&A forum and thanks for reaching out here.
As your HTTP source returns XML format data, you cannot use REST connector in ADF to read the data as it expects the API response to be JSON format. Hence the only available option is to:
- Use HTTP connector in Copy activity source and copy the XML data as a file to interim staging Azure Blob storage or a Azure Data Lake Gen2 folder.
- Then use a mapping data flow activity in your ADF pipeline and point the mapping data flow source to the XML file that you downloaded/copied using previous copy activity.
- Next as @Subashri Vasdudevan mentioned use a flatten transformation in data flow to flatten the nested array XML
- Then finally use a sink transformation to copy the data to your Azure SQL server.
As your XML has a complex structure and needs multiple flattening, copy activity is not suitable here.
Hope this info helps. Do let me know how it goes.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.