This is the documentation for the console version of File Gateway. The old version is no longer supported.
Documentation for the new version of File Gateway is located here.
File gateway is used to send reports on off-exhange trades and receive response notifications from the repository. The general principle of working with the file the gateway is as follows:
Format of attachments – PDF.
File gateway signs messages with a digital signature, encrypts thema based on the NSD certificate and sends a message to the NSD WSL service. The message will be moved from the Outbox folder to the Sent folder;
File gateway decrypts the repository response message and places it in the Inbox folder in the xml format.
After the delivery of the response message it gets processed in accordance with the rules on processing of exported messages. If the process of sending the message fails, the file of the original message is deleted from the outbox folder and gets to the error folder. A XML failure report file with a name like FILENAME.error gets into the same error folder.
Messages, which were impossible to decrypt, will be loaded to the Inbox folder in an encrypted form. To solve the problem, contact the NSD technical support (see Contacts).
The process of sending and receiving messages is displayed in the service’s web interface. Additionally, the web-based interface allows viewing:
Messages are exported automatically according to the export timer settings. Each exported message is processed according to a set of rules, depending on the type of message.
Table 1 – Rules of message exporting
Message | Set of rules |
---|---|
If the message is an encrypted CRY-package, containing an FpML message, and (possibly) attachments (eg, F011001.zip) |
|
If the message is an encrypted CRY-package that does not contain FpML-messages (eg, CERROR01.cry). |
|
If the message is an unencrypted ZIP- package (eg, CERROR01.zip) |
|
Miscellaneous |
|