Export the Datasource Configuration file
- Last Updated: July 16, 2025
- 3 minute read
- Corticon
- Version 6.3
- Documentation
To generate a Datasource Configuration file:
- With the project's Vocabulary open in its editor, select Vocabulary > Datasource Configuration File >
Export, as shown:

- All the defined connections to external data sources are packaged
into a single file XML, typically named,
datasources.xml. The file content might look like this:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <decisionService> <datasources> <database name="Treatment Data"> <authentication-type>Basic</authentication-type> <connection-url>jdbc:progress:sqlserver://localhost:1433;databaseName=CMSDetail</connection-url> <database-driver>com.corticon.database.id.MsSql2014</database-driver> <password>045032017061061017032045</password> <username>061046</username> </database> <database name="Patient Data"> <authentication-type>Kerberos</authentication-type> <connection-url>jdbc:progress:sqlserver://localhost:1433;databaseName=PatientRecords</connection-url> <database-driver>com.corticon.database.id.MsSql2014</database-driver> </database> </datasources> </decisionService>
When authentication-type="Kerberos",
the username andpassword parameters are not included.
You can specify a preferred name and location for the file, although colocating it with its Decision Service file, or within its related project folder is a good idea.
There are several techniques for deployment, as described in the section How to package and deploy Decision Services . This section will focus on one, Use Studio to compile and deploy Decision Services .
Managing user access on Corticon Server
Typically, enterprises constrain developers to appropriate database products. As data integration carries the potential for data loss or corruption due to unintended updates, developers are typically limited a test instance of a database when testing from Studio. If unintended changes or deletions are made during rule execution, then only test database instances have been changed. When deploying to Corticon Server, it is a good practice to have servers reserved for developer integration testing to the test databases through the user-acceptance test phase.Managing database connections on Corticon Server
The handoff to production administrators will typically recast the Datasource configurations to the pre-production server locations and credentials followed by validation tests. Production might require another adjustment of the database configuration.
However, notice that the username and password values are very different from the credentials that were entered. These values were encrypted when the database access file was created and will be decrypted when they are implemented in a decision service. You can use the following utility to encrypt the required credentials.
Encrypting database credentials defined in the Datasource Configuration File
To use Corticon's proprietary encryption algorithm to encrypt credentials:
- Obtain the credentials you want for each of the Datasources. Use
those values to replace
myServerUserandmyServerUserPasswordin the following procedure. - In a Corticon Server installation, open a Command Window at
[CORTICON_HOME]\Server\bin\. - Type
corticonManagement -en -i myServerUser. An encrypted String for theusernameis output. Then typecorticonManagement -en -i myServerUserPassword. An encrypted String is output. The procedure looks like this:
- Copy the encrypted String to the appropriate Datasource in the Datasource configuration file and enter it as the value for the username. Then similarly copy the encrypted password String as the value for the user's password.
- Colocate the revised Datasource configuration file with the appropriate instance of the Decision Service on the Corticon Server.
Using the Datasource XSD file
Every Corticon Studio and Corticon Server installs an XSD file that
specifies how to formally describe the elements in Datasource configuration XML files.
You can use this file to verify the content in your documents. The file datasourceConfig.xsd is located at [CORTICON_HOME]/Studio/lib.