You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SEND

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

  • No labels