Jump to: navigation, search

Changes


XML Interface Toolkit

55 bytes removed, 09:30, 11 February 2014
The XML interface toolkit provides mechanisms to import and export data in XML format. Arbitrary structured XML data is mapped to according {{UBIK}} objects and its properties by a mapping specified in a separate mapping configuration file. Both files have to be specified in the interface command file additional to the default [[Interface_Manager#Configuration|configurationdefault parameters]]. == Parameters ==The general parameters, marked by Import/Export, are equivalents of the settings used by {{UBIKSTUDIO}} to connect to a database, please refer to its [[UBIK_Studio_Basics#Settings|settings section]]for a detailed description.
== Command file ==
The Web Service must be configured by updating the ''Web.Config'' File. See web.config [[UBIK_Web_Service_Configuration_Example|Examples]] to see an example for a service configuration file.
 
{| class="wikitable" | width = "88%"
 
|-
! Key!! ValueApplication!! Description
|-
| Server || UBIK.DataBase.ConnectionString Import/Export ||Configuration of the SQL connect string to the UBIK Database
|-
| InitialCatalog || UBIK.Service.MaxIdleMinutes Import/Export ||Duration [in minutes] until a unused WebService shuts down automatically
|-
| UserID || UBIK.Service.ValityPeriode Import/Export ||Duration [in seconds] until a cached record is marked as outdated in the UBIK Kernel
|-
| Password || LogLevel Import/Export ||LogLevel
|-
| RecordLifeTime || LanguageID Import/Export ||ID of the language that must Set how long records are valid before they will be used requeried for changes by the Web Service. The Service will deliver the content of MultiLanguage Properties in this language.kernel; -1 to turn off
|-
| WorkingFolder || UserRestrictive Import/Export ||If this switch is "1", only known logins may connect to UBIK. If it is set to "0", every login may connect.
|-
| DataFile || DeviceRestrictive Import/Export ||If this switch is "1", only known and active devices may connect to UBIK. If it is set to "0", every device may connect.
|-
| DataMappingFile || TokenRestrictive Import/Export ||If this switch is "1", data access is only possible after a successfull authentication. If it is set to "0", the token is not validated.
|-
| DataView || SessionManagementType Export ||Configure the type of Sessionmanagement the current Service should use 0 = local management, 1 = Local Application Service, 2 = Global Applicatoin Service
|-
| DeleteFile || SessionManagementUrlImport/Export||In the case of SessionManagementType = 1 or 2, configure the Url of the Applicatoin service via this setting
|-
| LogFolder || listeners Import/Export ||Full configuration of the UBIK Logging
|-
| LogFile || maxAllowedContentLength Import/Export|| Configure the maximum allowed length of received content (see [[UBIK_Web_Service_Configuration_Example#system.webServer|Example]])
|-
|}
10,686
edits