Direct FileAct
Direct FileAct
Direct FileAct
Information Paper
Table of Contents
Preface .................................................................................................................................................3
1
Overview ....................................................................................................................................4
1.1
1.2
Flows ........................................................................................................................................10
3.1
3.2
3.3
3.4
3.5
Version 1.1
May 2010
Preface
Purpose of this document
This document provides an overall description of the Direct FileAct functionality, a new
adapter of Alliance Access 7.0.
Intended audience
This document is intended for project managers, allowing them to validate the integration of a
simple FileAct based integration, based on this new Direct FileAct feature provided by Access
7.0.
Related documentation
Alliance Access/Entry 7.0 Functional Overview
Alliance Access - System Management Guide
Alliance Access - Installation and Administration Guide
March 2010
Overview
1.1
Current Situation
Access 6.3 FileAct Support
With Access 6.3, the support for FIN and InterAct has been complemented with FileAct
support, providing a single integration point for back office applications to exchange FIN and
InterAct messages, as well as FileAct based exchanges.
In order to support the emission of files, a back office application communicating with Access
6.3 to exchange files needs to:
Provide the actual file to exchange (the payload file).
Specify the FileAct settings to be used for the transmission of the file.
When receiving a file, the back office application needs to:
Process the received payload file
Optionally, analyse the FileAct settings specified for the transmission of the file by the
correspondent.
The XMLv2 format (Revision 1) is the basis to support the specification of the FileAct settings.
This format has already been available in previous Access 6.x releases, in order to support
InterAct messages (and also FIN messages). Some of the key fields that must be specified
for an InterAct transaction are:
Sender DN and Receiver DN
Service Name and Request Type
InterAct format
With Access 6.3, the XMLv2 format has been revised (Revision 2) to also support the
specification of FileAct settings. Some of the InterAct related fields are also applicable for a
FileAct transaction. Additional fields, specific to a FileAct transaction have been added, like:
File logical name
File description
The file providing the XMLv2 definition only contains the FileAct settings. The actual payload
file is provided separately. For a FileAct specification, the XMLv2 <Body> element does not
provide the file content but instead specifies the name of the associated payload file.
Version 1.1
May 2010
Note
The XMLv2 also supports specification of FIN messages. This functionality is not
relevant in the scope of this paper and will not be further detailed.
Note
With Access 6.3, FileAct is only supported by the File Transfer adapter. FileAct
support over IBM WebSphere MQ is planned for Access 7.0, via an enhanced
version of the MQHA adapter. FileAct support over SOAP adapter is planned for a
later release.
March 2010
Version 1.1
1.2
May 2010
Evolution Rationale
The primary objective of evolving FileAct support in Access 7.0 is to enable back office
applications already producing the payload file to easily integrate with Access, and not
requiring any specific development work to send these files over SWIFTNet FileActIn short,
the back office can continue to simply produce the payload file. It can provide the files to
Access that will generate the associated FileAct transaction.
This new Access functionality will greatly facilitate integration of existing back office
applications producing files, which can kept unchanged, and which will rely on Access
configuration to determine the FileAct settings to be used for the file exchange.
This evolution will be provided by a new type of file based adapter in Access 7.0, referred to
as 'Direct FileAct' adapter, which can trigger a FileAct transaction by receiving a payload file
only.
This capacity to handle a payload file only will also enable a user to manually initiate a FileAct
exchange, allowing the user to directly select the payload file to initiate the transaction.
Access configuration will determine the FileAct settings to be used for the exchange.
This adapter will be available as a licensable option in Access 7.0.
The remaining sections of this document explain the functionality of this adapter and how
FileAct flows can be implemented using this adapter.
Note
March 2010
Direct FileAct can also benefit customers looking at prototyping a new FileAct
integration before investing into an XMLv2 based integration.
Version 1.1
May 2010
For an emission flow, the Direct FileAct adapter supports the reception of the payload file
from the back office, and the report of the associated FileAct network transmission and
delivery statuses (if used).
March 2010
Flows
This section explains the various flows supported by the Direct FileAct adapter:
File emission, either automatic or manual, with reception of transmission notification, and
optionally, delivery notifications
File reception
3.1
The back office application drops a payload file into the data directory associated to a
Direct FileAct message partner. In this example, the file is named filename.ext.
2.
The Direct FileAct message partner automatically detects the file and processes it.
3.
The Direct FileAct message partner creates a FileAct based message. The FileAct
settings, required to exchange the file over SWIFTNet, are extracted from the FileAct
configuration associated to the message partner.
The following FileAct settings are configured for the message partner and used to
generate the FileAct message:
Requestor DN
Responder DN
Service
Request Type
Priority
Access automatically calculates the payload file digest, based on the digest calculation
algorithm set in the File Digest Algorithm System Configuration parameter.
It is important to note that the generated FileAct message is identical to any other FileAct
messages generated from another type of adapter. In other words, standard Access
FileAct features (like message consultation, printing, routing, etc) can be applied on this
message.
This FileAct message can also be consulted with the Web Platform and printed like any
other FileAct messages in Access database (as for any FileAct message, the message
10
Version 1.1
May 2010
details can be examined, but the actual file content is not viewable from the Web
Platform).
4.
Default Access routing rules are configured to send this FileAct message to the
SWIFTNet interface, onto the appropriate emission profile.
The emission of the file over SWIFTNet FileAct is performed by the SWIFTNet Interface.
The following settings, stored in the SWIFTNet Emission Profile, are used to generate
the final SWIFTNet FileAct transaction:
Delivery Mode (real-time or Store and Forward)
Delivery Notification settings (with corresponding Responder DN/Request Type or
Delivery Notification Queue)
Non Repudiation Required
Signing Required
Windows Size and Retry Limit
5.
On completion of file transfer, the routing rules defined at the _SI_to_SWIFTNet will
typically generate a Transmission Notification Instance that is sent to another Direct
FileAct adapter, configured in 'To' mode (i.e. emission to a back office).
6.
The Direct FileAct adapter generates a response file to indicate the successful
completion of the file transfer. This is indicated by the name of the response file
generated : filename.ext.TransferRef.ok.
The response file itself is empty. The back office does not need to parse the file content.
It simply needs to examine the filename extension to determine the status of the
transmission.
In case of a failed transmission, the generated response file, also empty, will be named
filename.ext.TransferRef.err.
The following steps only occur if the delivery notification option was requested for this FileAct
exchange (available for Store and Forward FileAct mode only):
March 2010
7.
The Delivery Notification message is received from SWIFTNet. The message when
routed to the TR_REC module will be reconciled with the original message instance.
8.
9.
The Direct FileAct adapter, generates another response file. For a successful delivery
notification, the file is named filename.ext.SnFRef.dlok.
In case of an unsuccessful delivery notification, the file will be named
filename.ext.SnFRef.dlnok.
Again, the response file is empty. The back office simply needs to look at the file name
to determine the delivery notification status.
11
3.2
Comments
Filename.ext*.StoredTransferRef
Filename.ext*.TransferRef.ok
Filename.ext*.[TransferRef.]err
Filename.ext*.SnFRef.dlok
Filename.ext*.SnFRef.dlnok
12
Version 1.1
May 2010
This adapter will in turn generate an XMLv2 based notification report, containing all the details
of the transmission notification.
March 2010
13
3.3
2.
The resulting FileAct message is routed to a Direct File Message partner, configured in
'To' mode.
3.
The Direct FileAct message partner generates a payload file, in the data directory
configured for this message partner.
The payload filename is based on the incoming FileAct logical file name, possibly
updated to only contain the A-Za-z0-9._ characters.
The SWIFTNet transfer reference is also appended to the filename, to ensure
uniqueness.
4.
The back office application processes the payload file present in the data directory.
14
Version 1.1
3.4
May 2010
Manual Emission
The Direct FileAct adapter, in 'From' mode, can be configured to support a manual initiation of
a FileAct transaction. In that mode, the entitled operator will start a Direct FileAct session. The
operator is required to select a payload file for this FileAct transaction.
The remaining steps are identical to an automatic initiation (See Back office Emission on
page 10), starting at Step 3).
The generation of response file is also supported in this manual mode, although its usage
might be very limited in a manual initiation scenario. The operator can instead use the
Messenger function (or Message File on Workstation) to monitor the file emission progress.
Note
March 2010
15
3.5
Constraints
Directory Mapping
The core design of the Direct FileAct adapter is a mapping between a directory with a
correspondent for a given service. This configuration is primarily suited to handle a limited
number of correspondents with a few services, in order to keep the number of directories to
manage under control.
Duplicate detection
Direct FileAct shares the same logic for duplicate detection as for other FileAct flows in
Access. For back office emission, the payload file itself is not checked for duplicate by
Access, but the duplicate detection logic, based on the file digest calculation will apply to the
File message. It will allow to detect file with an identical file digest and to potentially route
these duplicate transactions in Access.
Digest Calculation
The global Access File Digest Algorithm system configuration parameter is used to select the
algorithm used to compute the file digest for files sent over Direct FileAct.
Polling Timer
The scanning of Direct FileAct data directories (in From mode) is based on the frequency
defined by the already existing Automatic Polling Timer System Configuration Parameter.
No LAU support
Direct FileAct adapter does not support the configuration of LAU settings to secure payload
files.
If a secured, LAU based integration is required, the File Transfer adapter should be used
instead, which fully support LAU based security via XMLv2 settings.
No File Compression
Similar to the FileAct support via XMLv2, as provided Access 6.3, the Direct FileAct adapter
does not support automatic file compression.
16
Version 1.1
May 2010
Legal Notices
Copyright
SWIFT 2010. All rights reserved.
You may copy this publication within your organisation. Any such copy must include these legal notices.
Confidentiality
This publication contains SWIFT or third-party confidential information. Do not disclose this publication outside
your organisation without the prior written consent of SWIFT.
Disclaimer
The information in this publication may change from time to time. You must always refer to the latest available
version on www.swift.com.
Translations
The English version of SWIFT documentation is the only official and binding version.
Trademarks
SWIFT is the trade name of S.W.I.F.T. SCRL. The following are registered trademarks of SWIFT: SWIFT, the
SWIFT logo, Sibos, SWIFTNet, SWIFTReady, and Accord. Other product, service, or company names in this
publication are trade names, trademarks, or registered trademarks of their respective owners.
March 2010
17