如何从SQL Server Integration Services中具有多个工作区元素的OData源加载

问题描述

我尝试使用Visual Studio 2017中的sql Server Integration Services将OData源中的数据加载到sql Server表中(数据流> OData源)。提供的OData服务文档包含多个工作区标签

<app:workspace sap:semantics="things" xmlns:sap="http://www.sap.com/Protocols/SAPData">
        <atom:title>Things</atom:title>
</app:workspace> 
   
<app:workspace sap:semantics="data" xmlns:sap="http://www.sap.com/Protocols/SAPData">

以某种方式,VS无法处理此问题。出现以下错误消息,甚至无法验证任务。

Unable to load collection for the connection OData Source,reason: Cannot open this connection

An error occured when reading the OData Service Document. (Microsoft.sqlServer.ManagedDTS)

Multiple 'workspace' elements were found inside the service document. A service document must
contain a single {http://www.w3.org/2007/app}:workspace element. (Microsoft.Data.OData)

根据官方OData文档,可以有多个工作空间条目(https://www.odata.org/documentation/odata-version-3-0/atom-format/,第13.1章。“ app:service元素”>“ app:service元素包含一个或多个app:workspaces ... “

我怎么能提取数据?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)