AutoGRAPH.NET Service Config en — различия между версиями
Admin (обсуждение | вклад) (Новая страница: «== Configuration == First, unpack AutoGRAPH.NET Service installation archive to any directory. Then you need to edit '''AutoGRAPHNETService.exe.config''' file. B…») |
(нет различий)
|
Текущая версия на 16:59, 12 февраля 2016
Configuration
First, unpack AutoGRAPH.NET Service installation archive to any directory. Then you need to edit AutoGRAPHNETService.exe.config file. Below described most of configuration file keys:
<add key="address" value="http://localhost:800/"/> <add key="address-json" value="http://localhost:810/"/> <add key="common-directory" value="C:\ProgramData\AutoGRAPH Shell"/> <add key="data-directory" value="C:\Users\denisio\AppData\Roaming\AutoGRAPH Shell\Data"/> <add key="users-directory" value="C:\TK\DataLoader\_testusers"/> <add key="devices-directory" value="C:\TK\DataLoader\_testdevices"/>
address | local endpoint of WCF handler. Used url:port format Some usage cases:
| |
address-json | local endpoint of WCF handler. Used url:port format Some usage cases:
| |
common-directory |
common directory (directory structure is equal of common directory AutoGRAPH.Pro – subdirectories Schemes, GeoFences, Devices and so on required) | |
data-directory |
data directory of AutoGRAPH DataLoader or AutoGRAPH Server 3.x or 4.x or 5.x | |
ddd-directory | DDD-files directory (tachograph driver card files) | |
users-directory |
users directory of AutoGRAPH Server 4.x or 5.x | If this parameters specified - you will need authenticate with Login method before use any other method, read here for more information. |
devices-directory |
device file directory of AutoGRAPH Server 4.x или 5.x, usually this directory have "DBF" name |
You can start service after edit config file and make request to service for generate proxy class:
svcutil.exe http://localhost:800/?wsdl /async /tcv:Version35 /ser:DataContractSerializer
svcutil will create AutoGRAPHSvc.cs file with proxy-class for accessing to WCF-endpoint of AutGRAPH.NET Service and output.config with WCF client configuration.