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.
Added the ability to automatically download the draft messages to the Web-client.
To configure downloading function you need:
Содержание страницы:
Table 1 – File Gateway Setup Parameters
XPath-expression | Description |
---|---|
/fileGateway/wsl/@lkrEndpoint | Web-client Url:
|
/fileGateway/lkrChannels/channel/@username | User name |
/fileGateway/lkrChannels/channel/@password | Password |
/fileGateway/lkrChannels/channel/@clientCertificateSerialNumber | Serial number of the certificate used to access the WSL- service of the repository |
/fileGateway/lkrChannels/channel/@validataProfile | Certificates storage profiles |
/fileGateway/lkrChannels/channel/@cryptography | Сryptography – RSA or GOST |
/fileGateway/lkrChannels/channel/outbox/@path | The path to the Sent mail folder |
/fileGateway/lkrChannels/channel/sent/@path | The path to the folder for successfully sent drafts. Drafts, which could not be sent, will remain in the Outbox folder |
/fileGateway/lkrChannels/channel/@asIs | Import mode. By default the drafts imported without changes (saving messageId and correlationId) If the attribute is added (asIs="true"), the drafts will be imported with saving messageId and correlationId If the attribute is added (asIs="falce"), then import the messageId and correlationId will be deleted. The IDs can be filled manually on the editing form in the Web-client, or automatically when sending the message to the repository |
Below is the example of settings:
<?xml version="1.0" encoding="utf-8"?> <configuration> <nrd> <fileGateway> <wsl endpoint="https://rsa.nsd.ru/onyxpl/WslService" lkrEndpoint="http://repository1.itglobal.ru/lkr/" httpsMode="Auto"> ... </wsl> ... <channels> ... </channels> <lkrChannels> <channel enabled="true" username="" password="" clientCertificateSerialNumber="" validataProfile="My" cryptography="GOST" asIs="true"> <outbox path="c:\transfersvc\lkr\outbox" monitoringThreshold="0:00:05" /> <sent path="c:\transfersvc\lkr\sent" /> </channel> </lkrChannels> </fileGateway> </nrd> </configuration>
To import the draft messages to the Web-client you need to copy a message to an *.xml in the outgoing messages folder. In addition:
The messages from the Outbox folder will be displayed in the Drafts form in the Web-client.