Jump to: navigation, search

Web Service Configuration


Revision as of 10:35, 7 July 2023 by NNE (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Specific Configuration Files

The specific configuration files are considered in the configuration via inclusion. For example, the tag <bindings configSource="Logging.config" /> in the main configuration file adds all settings of Logging.config to the configuration.

Specific files are available for:

  • Bindings: different configurations for data services and endpoints
  • Clients: definitions used by the data service for connecting to the session management service
  • Logging: configuration of destination paths, etc.
  • Services: used by the data service and the session management service
  • Application Settings: configuration of the data and session management service of the web service
  • Web Settings: configuration of the web site.

This table shows by which component the specific files are used.

DescriptionExample fileWeb serviceStudioEnterprise Service
Application settingsAppSettings.configIC Bullet Full.png--
BindingsBindings.configIC Bullet Full.pngIC Bullet Full.pngIC Bullet Full.png
ClientsClient.configIC Bullet Full.pngIC Bullet Full.pngIC Bullet Full.png
LoggingLogging.configIC Bullet Full.pngIC Bullet Full.pngIC Bullet Full.png
ServicesServices.configIC Bullet Full.png--
WebWeb.configIC Bullet Full.pngIC Bullet Full.pngIC Bullet Full.png

The configuration file of the web service additionally needs to obey rules as given in Configuring Services.

Common sections, existing in all main configuration files and should not be changed in general, are

  • <configSections>: these settings include general logging and exception handling
  • <exceptionHandling>: detailed configuration of exception handling
  • <loggingConfiguration>: detailed configuration of logging
  • <system.serviceModel>: behaviours for services and endpoints