Configuration

Copy the following files from the Web Service package's server/resources

Default-WsRun.wjs Default-DocOriginWS.ini Default-WsSecurity.ini Default-WsSecurity.wjs

to

%DO_ROOT%/DO/Bin.

The WsRun script can be overridden at %DO_ROOT%/User/Overrides/WsRun.wjs file.

The Default-DocOriginWS.ini file can be overridden with %DO_ROOT%/User/Overrides/DocOriginWS.ini.

Note, when editing the .ini file you cannot use the usual $X style folder mappings.

The .ini file can define the following properties:

  • TempPath root folder to store jobs, defaults to C:\DocOrigin\User\Temp\
  • Input file name where input is stored in job's folder defaults to input
  • JobInfo file name of communication file, stored in job's folder, defaults to jobInfo.properties
  • RunTimeoutSec timeout for sync jobs, job is killed after timeout, defaults to 60
  • KeepJobHours approximate time to keep finished jobs folders on file system, those are cleared automatically, defaults to 1
  • LogFileName The name of the log file in job folder, defaults to DOWebService.log
  • LimitedApi (As of version 1.3.8) Limit the REST API to a single "Execute a job" endpoint

Adjust files if necessary.