Using Server API to compile and deploy Decision Services
Corticon provides a Java API that can be used in custom code to compile, deploy, and manage Decision Services. The API can be used in code running an in-process Corticon Server, or can be used to manage a remote Corticon Server through the server's SOAP interface.
Using the Test Server Scripts
The test server scripts provide fully-functional commands that are structures in the Server source file [CORTICON_HOME]\src\CcServerApiTest.java. For example, to add a Decision Service that uses the Enterprise Data Connector, start the server, and then start the Axis test batch file [CORTICON_HOME]\Server\bin\testServerAxis.bat.
Enter 100 to list the 100 series of commands.
Figure 302. testServerAxis.bat 100 commands
Enter 103 named Add a Decision Service (9 parameters).
Enter the arguments as prompted invokes the addDecisionService() method. The arguments used by this method include:
1. Decision Service Name
2. Decision Service path
3. Dynamic Reload setting (also known as auto-reload)