AS2 (Input Agent)
URL: http(s)://<URL or IP of the Integration Server>/partner/AS2Retrieve/
The sender and receiver of the incoming data are then checked against those defined in the profile (channel). In addition, one of the attachment file names must match the given file pattern in the profile. If the conditions are met by multiple (active) profiles, it has to be ensured that only one of the profiles is executed. In those cases, the profile scoring will decide.
Settings
(1) File pattern: Pattern for the file name of the attachment. You can enter multiple file patterns separated by the pipe character (|) (e. g. *.txt|*.csv).
(2) Subject: Expected value for the subject. If the field is empty, the subject will not be evaluated.
(3) MIME type: Data can be restricted to a specific MIME type. The MIME type of a received AS2 message is available in system variable VAR_SYS_AS2_MIME_TYPE.
(4) Partner selection left: You can select a partner and then move any of his channels to the right. Only active AS2 channels with data direction Incoming are offered.
(5) Selected partner channels: AS2 channels selected for the profile. At least one must be selected.
HTTP request headers
Request headers can be read with the system variables MSG_CALL_HEADER_HTTP_<name of header in uppercase letters>.
HTTP response headers
HTTP response headers can be set in the response via system variables named VAR_RESPONSE_HTTP_HEADER_<name of the response header>. So variable VAR_RESPONSE_HTTP_HEADER_Server, for example, will create the HTTP response header "Server". The response header "Content-Length" is ignored, i.e. it cannot be overwritten.
Notes
This Input Agent allows checking the maximum size of input files. See section Maximum Size of Input Files.
Data that cannot be assigned to any profile is moved to the Unresolved area. See also section Warning for non-assignable input data.
The subject is available in the profile via the system variable VAR_MAILSUBJECT.