2

我在 BizTalk 2020 中使用 AzureBlobStorage 适配器并从 Azure Blob 存储接收 Blob。这些 blob 具有我想在我的编排中使用的元数据。所以我创建并部署了一个包含元数据键作为元素的模式。

在接收位置中,我使用架构的命名空间输入了“blob 元数据的命名空间”,并选中了“提升元数据属性”复选框

不幸的是,我收到以下错误:“按名称空间按列表加载属性信息失败或在列表中找不到属性。验证架构是否已正确部署。”

架构:

<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns="http://POC.Test.AzBlobMetadata.AzLaParameters" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://POC.Test.AzBlobMetadata.AzLaParameters" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:appinfo>
      <b:schemaInfo schema_type="AzLaParameters" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" />
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="MetaData">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="la_name" type="xs:string" />
        <xs:element name="la_runid" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

接收位置/适配器配置:

在此处输入图像描述

4

0 回答 0