IPWorks EDI 2020 Kotlin Edition

Questions / Feedback?

ReceiptReplyMode Property

The expected receipt reply mode.

Syntax

public var receiptReplyMode: As4serverReceiptReplyModes

public enum class As4serverReceiptReplyModes(val value: Int) {
rrmSync(0),
rrmAsync(1),
rrmNone(2);
}

Default Value

0

Remarks

This setting tells the component how to expect or deliver a receipt. Possible values are:

0 (rrmSync - default) The receipt is expected in the response to the request. This is only valid when sending files from a client to a server (push). This is a synchronous receipt (the receipt is returned in the same HTTP connection).
1 (rrmAsync) The receipt is returned at a later time. The receipt may be returned by itself in a separate connection, or may be bundled with a subsequent request. This is the only available mode when receiving files from a server (pull).
2 (rrmNone) No receipt is expected.

It is important to always set this property to the correct value in both AS4Client and AS4Server, whether sending or receiving, so the component can build a valid message. This should be set to the previously agreed upon value between the parties in the agreement identified by AgreementRef

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 Kotlin Edition - Version 20.0 [Build 8033]