在 Azure 逻辑应用中创建用于跟踪 AS2 消息的架构Create schemas for tracking AS2 messages in Azure Logic Apps
若要帮助你监视企业到企业 (B2B) 事务的成功、错误和消息属性,可以在集成帐户中使用以下 AS2 跟踪架构:To help you monitor success, errors, and message properties for business-to-business (B2B) transactions, you can use these AS2 tracking schemas in your integration account:
- AS2 消息跟踪架构AS2 message tracking schema
- AS2 消息处置通知 (MDN) 跟踪架构。AS2 Message Disposition Notification (MDN) tracking schema
AS2 消息跟踪架构AS2 message tracking schema
{
"agreementProperties": {
"senderPartnerName": "",
"receiverPartnerName": "",
"as2To": "",
"as2From": "",
"agreementName": ""
},
"messageProperties": {
"direction": "",
"messageId": "",
"dispositionType": "",
"fileName": "",
"isMessageFailed": "",
"isMessageSigned": "",
"isMessageEncrypted": "",
"isMessageCompressed": "",
"correlationMessageId": "",
"incomingHeaders": {},
"outgoingHeaders": {},
"isNrrEnabled": "",
"isMdnExpected": "",
"mdnType": ""
}
}
propertiesProperty | 必选Required | 类型Type | 说明Description |
---|---|---|---|
senderPartnerNamesenderPartnerName | 否No | StringString | AS2 消息发送者的合作伙伴名称AS2 message sender's partner name |
receiverPartnerNamereceiverPartnerName | 否No | StringString | AS2 消息接收者的合作伙伴名称AS2 message receiver's partner name |
as2Toas2To | 是Yes | StringString | AS2 消息接收者的名称,来自 AS2 消息的标头AS2 message receiver's name from the headers of the AS2 message |
as2Fromas2From | 是Yes | StringString | AS2 消息发送者的名称,来自 AS2 消息的标头AS2 message sender's name from the headers of the AS2 message |
agreementNameagreementName | 否No | StringString | 解析消息的 AS2 协议名称Name of the AS2 agreement to which the messages are resolved |
directiondirection | 是Yes | StringString | 消息流的方向,receive 或 send Direction of the message flow, which is either receive or send |
messageIdmessageId | 否No | StringString | AS2 消息 ID,来自 AS2 消息的标头AS2 message ID from the headers of the AS2 message |
dispositionTypedispositionType | 否No | StringString | 消息处置通知 (MDN) 处置类型值Message Disposition Notification (MDN) disposition type value |
fileNamefileName | 否No | StringString | 文件名,来自 AS2 消息的标头File name from the header of the AS2 message |
isMessageFailedisMessageFailed | 是Yes | BooleanBoolean | AS2 消息是否已失败Whether the AS2 message failed |
isMessageSignedisMessageSigned | 是Yes | BooleanBoolean | AS2 消息是否已签名Whether the AS2 message was signed |
isMessageEncryptedisMessageEncrypted | 是Yes | BooleanBoolean | AS2 消息是否已加密Whether the AS2 message was encrypted |
isMessageCompressedisMessageCompressed | 是Yes | BooleanBoolean | AS2 消息是否已压缩Whether the AS2 message was compressed |
correlationMessageIdcorrelationMessageId | 否No | StringString | AS2 消息 ID,用于将消息与 MDN 相关联AS2 message ID, to correlate messages with MDNs |
incomingHeadersincomingHeaders | 否No | JToken 字典Dictionary of JToken | 传入 AS2 消息标头的详细信息Incoming AS2 message header details |
outgoingHeadersoutgoingHeaders | 否No | JToken 字典Dictionary of JToken | 传出 AS2 消息标头的详细信息Outgoing AS2 message header details |
isNrrEnabledisNrrEnabled | 是Yes | BooleanBoolean | 如果值未知,是否使用默认值Whether to use default value if the value isn't known |
isMdnExpectedisMdnExpected | 是Yes | BooleanBoolean | 如果值未知,是否使用默认值Whether to use the default value if the value isn't known |
mdnTypemdnType | 是Yes | 枚举Enum | 允许的值:NotConfigured 、Sync 和 Async Allowed values: NotConfigured , Sync , and Async |
AS2 MDN 跟踪架构AS2 MDN tracking schema
{
"agreementProperties": {
"senderPartnerName": "",
"receiverPartnerName": "",
"as2To": "",
"as2From": "",
"agreementName": ""
},
"messageProperties": {
"direction": "",
"messageId": "",
"originalMessageId": "",
"dispositionType": "",
"isMessageFailed": "",
"isMessageSigned": "",
"isNrrEnabled": "",
"statusCode": "",
"micVerificationStatus": "",
"correlationMessageId": "",
"incomingHeaders": {
},
"outgoingHeaders": {
}
}
}
propertiesProperty | 必选Required | 类型Type | 说明Description |
---|---|---|---|
senderPartnerNamesenderPartnerName | 否No | StringString | AS2 消息发送者的合作伙伴名称AS2 message sender's partner name |
receiverPartnerNamereceiverPartnerName | 否No | StringString | AS2 消息接收者的合作伙伴名称AS2 message receiver's partner name |
as2Toas2To | 是Yes | StringString | 接收 AS2 消息的合作伙伴名称Partner name who receives the AS2 message |
as2Fromas2From | 是Yes | StringString | 发送 AS2 消息的合作伙伴名称Partner name who sends the AS2 message |
agreementNameagreementName | 否No | StringString | 解析消息的 AS2 协议名称Name of the AS2 agreement to which the messages are resolved |
directiondirection | 是Yes | StringString | 消息流的方向,receive 或 send Direction of the message flow, which is either receive or send |
messageIdmessageId | 否No | StringString | AS2 消息 IDAS2 message ID |
originalMessageIdoriginalMessageId | 否No | StringString | AS2 原始消息 IDAS2 original message ID |
dispositionTypedispositionType | 否No | StringString | MDN 处置类型值MDN disposition type value |
isMessageFailedisMessageFailed | 是Yes | BooleanBoolean | AS2 消息是否已失败Whether the AS2 message failed |
isMessageSignedisMessageSigned | 是Yes | BooleanBoolean | AS2 消息是否已签名Whether the AS2 message was signed |
isNrrEnabledisNrrEnabled | 是Yes | BooleanBoolean | 如果值未知,是否使用默认值Whether to use the default value if the value isn't known |
statusCodestatusCode | 是Yes | 枚举Enum | 允许的值:Accepted 、Rejected 和 AcceptedWithErrors Allowed values: Accepted , Rejected , and AcceptedWithErrors |
micVerificationStatusmicVerificationStatus | 是Yes | 枚举Enum | 允许的值:NotApplicable 、Succeeded 和 Failed Allowed values:NotApplicable , Succeeded , and Failed |
correlationMessageIdcorrelationMessageId | 否No | StringString | 相关 ID,它是配置了 MDN 的原始消息的 IDCorrelation ID, which is the ID for the original message that has the MDN configured |
incomingHeadersincomingHeaders | 否No | JToken 字典Dictionary of JToken | 传入消息标头的详细信息Incoming message header details |
outgoingHeadersoutgoingHeaders | 否No | JToken 字典Dictionary of JToken | 传出消息标头的详细信息Outgoing message header details |
B2B 协议跟踪架构B2B protocol tracking schemas
有关 B2B 协议跟踪架构的信息,请参阅:For information about B2B protocol tracking schemas, see: