SENDコマンドは、AS2トランザクションを送信する場合に使用されます。

以下のキーワードは、SENDコマンドで、またはキーワード/値のリスト引数のエントリーとして指定できます。

構文:

コマンド

キーワード

開発者用メモ

SEND




























RECIPIENT

必須。トランザクションを受信するID。
この値は、リソース・ファイル検索で使用されます。
値は、2つの構成要素(名前要素と任意のプライベート・キー・ストア・パスワード要素)がコロンで区切られて構成されます。
例:ACME:mypassword

FILE

必須。内容のファイル名

NAME

任意
メッセージで使用されるファイル名のオーバーライド名

CONTENT




必須。内容のMIMEタイプ

*XML

application/xml

*X12

application/edi-x12

*EDIFACT

application/edifact

MESSAGEID

任意
完全なトランザクション・メッセージID。
メッセージIDが通常生成されます。

SUBJECT

任意
トランザクションの件名

RECEIPTTO


任意
受領が必要です。

*NONE

処理の通知先を送信しません。

RECEIPTSIGNED


*YES

任意署名した受領が必要です。

*NO


DELIVERY


任意
非同期受領配信のURL

*NONE

受領
配信オプションを送信しません。

SIGNED


*YES

任意
署名したトランザクション

*NO

デフォルト。

ENCRYPTED


*YES

任意
暗号化されたトランザクション

*NO

デフォルト。

COMPRESSED


*YES

任意
圧縮された内容

*NO

デフォルト。

USER

任意
基本認証ユーザー

PASSWORD

任意
基本認証パスワード

WAIT



*YES

任意
デフォルト値は0です。
HTTP応答を無限に待機します。

*NO

HTTP応答を待機しません。

読み込み時間をミリ秒単位で待機します。

TIMEOUT

任意
デフォルトは0で、無効を示します。
ホスト接続のタイムアウト(ミリ秒単位)

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