SENDコマンドは、AS2トランザクションを送信する場合に使用されます。
以下のキーワードは、SENDコマンドで、またはキーワード/値のリスト引数のエントリーとして指定できます。
コマンド | キーワード | 値 | 開発者用メモ |
|---|---|---|---|
SEND | RECIPIENT | 値 | 必須。トランザクションを受信するID。 |
FILE | 値 | 必須。内容のファイル名 | |
NAME | 値 | 任意 | |
CONTENT | 値 | 必須。内容のMIMEタイプ | |
*XML | application/xml | ||
*X12 | application/edi-x12 | ||
*EDIFACT | application/edifact | ||
MESSAGEID | 値 | 任意 | |
SUBJECT | 値 | 任意 | |
RECEIPTTO | 値 | 任意 | |
*NONE | 処理の通知先を送信しません。 | ||
RECEIPTSIGNED | *YES | 任意署名した受領が必要です。 | |
*NO | |||
DELIVERY | 値 | 任意 | |
*NONE | 受領 | ||
SIGNED | *YES | 任意 | |
*NO | デフォルト。 | ||
ENCRYPTED | *YES | 任意 | |
*NO | デフォルト。 | ||
COMPRESSED | *YES | 任意 | |
*NO | デフォルト。 | ||
USER | 値 | 任意 | |
PASSWORD | 値 | 任意 | |
WAIT | *YES | 任意 | |
*NO | HTTP応答を待機しません。 | ||
値 | 読み込み時間をミリ秒単位で待機します。 | ||
TIMEOUT | 値 | 任意 | |
PARTNER | 値 | 任意認証パートナー |
キーワード RECEIVER を使って、プロパティ・ファイルのエントリーの選択階層を使用して、署名キー・ファイル、パスワード、署名証明書および暗号証明書を取得します。
keystore.{recipient}= pki/filename keystore = pki/filename keystore.password.{recipient} = password keystore.password = password certificate.{recipient} = pki/filename certificate = pki/filename encryption.certificates.{recipient} = pki/filename, pki/filename, pki/filename authentication.certificate.{partner} = pki/filename url.{recipient} = http://company.com/as2server as2-to.{recipient} = companyto as2-from.{recipient} = companyfrom as2-from = companyfrom from.{recipient} = from from = from subject.{recipient} = subject subject = subject receipt.to.{recipient} = *none | email address (Disposition-Notification-To) receipt.to = *none | email address (Disposition-Notification-To) receipt.signed.{recipient} = *yes | *no (Disposition-Notification-Options) receipt.signed = *yes | *no (Disposition-Notification-Options) receipt.delivery.{recipient} = *none | url (Receipt-Delivery-Option) receipt.delivery = *none | url (Receipt-Delivery-Option) messageid.prefix.{recipient} = company identifier messageid.prefix. = company identifier signed.algorithm.{recipient} = *MD5 | *SHA1 | *SHA256 | *SHA384 | *SHA512 signed.algorithm = *MD5 | *SHA1 | *SHA256 | *SHA384 | *SHA512 encryption.algorithm.{recipient} = *DES3 | *AES128 | *AES192 | *AES256 encryption.algorithm = *DES3 | *AES128 | *AES192 | *AES256