Changes
/* UBIK.EnterpriseService.BasicClient.App */
Another possibility is to use UBIK.EnterpriseService.BasicClient.App which is a stand-alone application that uses the aforementioned library internally. This application can be used in the Windows Task Scheduler to schedule executions. In order to use this application you will need to configure it in its accompanying UBIK.EnterpriseService.BasicClient.App.exe.config file. This xml file has an “appSettings” section with three entries:
* BaseAddress: This is the base address on which the EnterpriseService hosts its WebInterface. You can find it in the appsettings section (WebInterfacePort & WebInterfaceHost) in the UBIK.EnterpriseService.exe.config file of your EnterpriseService installation path. The default value is http://localhost:9000
* PathToBasicEnterpriseServiceRequestJsonFile: This is a file path to a json file that contains all parameters needed to execute a taskone or more tasks. As an example:
<source lang="javascript">
{
"SSPITasks": false,[ { "SQLUserClassFullname": "usernamespace1.class1", "SQLPasswordMethodName": "pwd#1method1", "SQLServerMethodParameterPathFullName": "augserverpathToFileContainingAnyJson1" //No parameters required if method is like below: //public void Run(IExecutionRequest executionRequest,UBIKEnvironment ubikEnvironment) { ... } }, { "SQLInitialCatalogClassFullname": "UBIKnamespace2.DEVclass2", "MethodFullNameMethodName": "Namespace.Class.Methodmethod2", "MethodParameterPathFullName": "pathToFileContainingAnyJson2" } ], "MethodParametersAsJsonRepeateEveryMinutes": 0, "SqlConnectionDefinition": { \ "MyNumberProperty\SSPI": 4false, \ "MyStringProperty\SQLUser": \"TESTDATENBANK\user", "SQLPassword": "pw", "SQLServer": "server", "SQLInitialCatalog": "db" }, "ClassFullname": null, "MethodName": null, "MethodParameterPathFullName": null
}
</source>
* PathToBasicEnterpriseServiceRequestJsonFileList: Path to a file containing paths (separated by line breaks). The paths should lead to files as described above, in the order they should be processed.
==== Own Implementation ====