在Azure数据工厂中如何读取XML响应
由于我是 ADF 新手,正在寻找从 API 读取/接受 XML 响应的正确方法。
使用复制活动、
休息、链接服务尝试了以下活动
如果有人可以分享有关如何在 ADF 中使用 XML API 响应的文档或参考,将会很有帮助。
As I am new to ADF, looking for the right way to read/accept XML response from an API.
Tried the following activities using copy activity,
Rest, linked service. Linked service connection is successful but while previewing the error,
HTTP, linked service. Linked service connection is successful but while previewing the error,
OData, linked service. failed to connect to the linked service Error: Failed to create odata connection to RequestUrl.
It would be helpful if someone could share a doc or reference on how XML API response can be consumed in the ADF.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 官方文档,REST 连接器仅支持 JSON 格式的响应。
编辑 -
不幸的是,不支持 XML 响应。您可以使用 ADF 自定义活动以编程方式转换 XML。
请参阅 - https://social.msdn.microsoft.com/Forums/azure/en-US/68c41a5d-4cd3-4f61-8cbf-c9d86909ce80/adf-v2-pull-from-rest-api-that-returns-xml ?forum=AzureDataFactory
As per official documentation, REST connector only support response in JSON.
EDIT -
Unfortunately XML response is not supported. You can use an ADF Custom activity to transform the XML programmatically.
Refer - https://social.msdn.microsoft.com/Forums/azure/en-US/68c41a5d-4cd3-4f61-8cbf-c9d86909ce80/adf-v2-pull-from-rest-api-that-returns-xml?forum=AzureDataFactory