Use the mailbox's HTTP tab to assign default values to message
headers.
For example, your AS2 name (AS2-From) and your trading partner's
AS2 name (AS2-To) as well as the Subject and
Content-Type of the documents to be transferred.
- Default Value
- You can assign a default value for each of the headers defined on the AS2
Host: HTTP tab. (See AS2 Host: HTTP Tab.) Unless an
overriding value is specified within the command in an action, these default values are
used. (See AS2 Checklist: item 5 for the AS2-From
value, item 6 for the AS2-To value, and item 14 for the default
Content-Type value.)
- At a minimum, the following Headers must always be specified in
order to properly send AS2 messages:
- AS2-From - the alias of the sender of the AS2 message.
- AS2-To - the alias of the receiver of the AS2 message.
Note: The AS2-From / AS2-To fields
are determined and agreed upon as part of the initial setup of the trading
relationship. These fields could be company-specific, such as DUNS number, or
could simply be an agreed-upon identification string. The
AS2-From / AS2-To combination is
case-sensitive and must be unique across all hosts defined in your system, since
this combination is used to determine into which Inbox messages are stored when
received from remote hosts.
- Subject - identifies the message and is returned in the
human-readable section of an MDN, if requested.
- Content-Type - the format of the message being sent and is
used by the sending and receiving applications to properly assemble and parse the
message. Currently supported content types (in the pull-down menu) are:
- EDIFACT
- X12
- XML
- Binary
- Plain Text
- EDI Consent
Note: Entering a value for the Content-Type header is
optional. If Content-Type is not specified or if multiple
payloads are attached in the message, the Content-Type is
detected based first on file content and then the file extension. Detectable
types include application/edifact,
application/edi-x12,
application/edi-tradacoms,
application/xml (text/xml),
application/pdf, application/msword,
application/x-msexcel,
application/rtf, application/zip,
image/bmp, image/gif,
image/tiff, image/jpeg,
text/plain, text/html, and
video/mpg.