带 Enterprise Integration Pack 的 Azure 逻辑应用中的 AS2 消息设置参考Reference for AS2 message settings in Azure Logic Apps with Enterprise Integration Pack

此参考描述了可设置的属性,这些属性用于指定 AS2 协议处理在贸易合作伙伴之间发送和接收的消息的方式。This reference describes the properties that you can set for specifying how an AS2 agreement handles messages sent and received between trading partners. 根据要与其交换消息的合作伙伴达成的协议来设置这些属性。Set up these properties based on your agreement with the partner that exchanges messages with you.

AS2 接收设置AS2 Receive settings

选择“接收设置”

propertiesProperty 必选Required 说明Description
重写消息属性Override message properties No 用属性设置重写传入消息的属性。Overrides the properties on incoming messages with your property settings.
应对消息进行签名Message should be signed No 指定是否必须对所有传入消息进行数字签名。Specifies whether all incoming messages must be digitally signed. 如果需要签名,请在“证书”列表中,选择现有的来宾合作伙伴公共证书来验证消息的签名。 If you require signing, from the Certificate list, select an existing guest partner public certificate for validating the signature on the messages. 如果没有证书,请详细了解如何添加证书If you don't have a certificate, learn more about adding certificates.
应加密消息Message should be encrypted No 指定是否必须对所有传入消息进行加密。Specifies whether all incoming messages must be encrypted. 未加密的消息会被拒绝。Non-encrypted messages are rejected. 如果需要加密,请在“证书”列表中,选择现有的宿主合作伙伴专用证书来解密传入的消息。 If you require encryption, from the Certificate list, select an existing host partner private certificate for decrypting incoming messages. 如果没有证书,请详细了解如何添加证书If you don't have a certificate, learn more about adding certificates.
应压缩消息Message should be compressed No 指定是否必须对所有传入消息进行压缩。Specifies whether all incoming messages must be compressed. 未压缩的消息会被拒绝。Non-compressed messages are rejected.
禁止消息 ID 重复Disallow Message ID duplicates No 指定是否允许消息使用重复 ID。Specifies whether to allow messages with duplicate IDs. 如果不允许重复 ID,请选择检查的间隔天数。If you disallow duplicate IDs, select the number of days between checks. 也可选择是否暂停重复项。You can also choose whether to suspend duplicates.
MDN 文本MDN Text No 指定要发送到消息发送方的默认消息处置通知 (MDN)。Specifies the default message disposition notification (MDN) that you want sent to the message sender.
发送 MDNSend MDN No 指定是否为接收的消息发送同步 MDN。Specifies whether to send synchronous MDNs for received messages.
发送签名的 MDNSend signed MDN No 指定是否为接收的消息发送签名的 MDN。Specifies whether to send signed MDNs for received messages. 如果需要签名,请从“MIC 算法” 列表中选择用于消息签名的算法。If you require signing, from the MIC Algorithm list, select the algorithm to use for signing messages.
发送异步 MDNSend asynchronous MDN No 指定是否异步发送 MDN。Specifies whether to send MDNs asynchronously. 如果选择异步 MDN,请在“URL” 框中指定要将 MDN 发送到的 URL。If you select asynchronous MDNs, in the URL box, specify the URL for where to send the MDNs.

AS2 发送设置AS2 Send settings

选择“发送设置”

propertiesProperty 必选Required 说明Description
启用消息签名Enable message signing No 指定是否必须对所有传出消息进行数字签名。Specifies whether all outgoing messages must be digitally signed. 如果需要签名,请选择以下值:If you require signing, select these values:

- 在“签名算法” 列表中,选择用于消息签名的算法。- From the Signing Algorithm list, select the algorithm to use for signing messages.
- 在“证书”列表中,选择现有的宿主合作伙伴专用证书,对消息进行签名。 - From the Certificate list, select an existing host partner private certificate for signing messages. 如果没有证书,请详细了解如何添加证书If you don't have a certificate, learn more about adding certificates.

启用消息加密Enable message encryption No 指定是否必须对所有传出消息进行加密。Specifies whether all outgoing messages must be encrypted. 如果需要加密,请选择以下值:If you require encryption, select these values:

- 在“加密算法”列表中选择来宾合作伙伴公共证书算法,用于加密消息。 - From the Encryption Algorithm list, select the guest partner public certificate algorithm to use for encrypting messages.
- 在“证书”列表中,选择现有的来宾合作伙伴专用证书来解密传出的消息。 - From the Certificate list, select an existing guest partner private certificate for encrypting outgoing messages. 如果没有证书,请详细了解如何添加证书If you don't have a certificate, learn more about adding certificates.

启用消息压缩Enable message compression No 指定是否必须对所有传出消息进行压缩。Specifies whether all outgoing messages must be compressed.
展开 HTTP 标头Unfold HTTP headers No 将 HTTP content-type 标头置于单个行。Puts the HTTP content-type header onto a single line.
在 MIME 标头中传输文件名Transmit file name in MIME header No 指定是否在 MIME 标头中包含文件名。Specifies whether to include the file name in the MIME header.
请求 MDNRequest MDN No 指定是否接收所有传出消息的消息处置通知 (MDN)。Specifies whether to receive message disposition notifications (MDNs) for all outgoing messages.
请求签名的 MDNRequest signed MDN No 指定是否接收所有传出消息的已签名 MDN。Specifies whether to receive signed MDNs for all outgoing messages. 如果需要签名,请从“MIC 算法” 列表中选择用于消息签名的算法。If you require signing, from the MIC Algorithm list, select the algorithm to use for signing messages.
请求异步 MDNRequest asynchronous MDN No 指定是否异步接收 MDN。Specifies whether to receive MDNs asynchronously. 如果选择异步 MDN,请在“URL” 框中指定要将 MDN 发送到的 URL。If you select asynchronous MDNs, in the URL box, specify the URL for where to send the MDNs.
启用 NRREnable NRR No 指定是否要求不可否认性接收 (NRR)。Specifies whether to require non-repudiation receipt (NRR). 此通信属性提供数据已按址接收到的证据。This communication attribute provides evidence that the data was received as addressed.
SHA2 算法格式SHA2 Algorithm format No 指定用于对传出 AS2 消息或 MDN 的标头进行签名的 MIC 算法格式Specifies the MIC algorithm format to use for signing in the headers for the outgoing AS2 messages or MDN

后续步骤Next steps

交换 AS2 消息Exchange AS2 messages