Added the ability to automatically download the draft messages to the Web-client.

Settings

To configure downloading function you need:

  1. paste %LOCALAPPDATA% into the Windows Explorer and press Enter on the keyboard;
  2. go to NSD.FileGateway the installation folder;
  3. open the svc.config file;
  4. change the required parameters in the svc.config file. Valid options are presented in table 1.

Содержание страницы:

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/@clientCertificateSerialNumberSerial number of the certificate used to access the WSL- service of the repository
/fileGateway/lkrChannels/channel/@validataProfileCertificates storage profiles
/fileGateway/lkrChannels/channel/@cryptographyСryptography RSA or GOST
/fileGateway/lkrChannels/channel/outbox/@pathPath to the Sent mail folder

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="RSA">                   
                    <outbox path="c:\temp1\transfersvc\outbox"
                            monitoringThreshold="0:00:01" />                   
                </channel>               
                ...               
            </lkrChannels>
        </fileGateway>
    </nrd>
</configuration>

General principle of downloading the draft messages

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.