skip to main content
Corticon Server: Integration & Deployment Guide : Sample client applications
 

Try Corticon Now

Sample client applications

Corticon Server installations now include several sample applications that call a Decision Service. While the functionality of the samples is substantially identical, the contrast of SOAP and REST written in various languages -- Java, C#, JavaScript, Python -- provides developers a solid base to meet their project's client requirements. The source samples are heavily commented. The samples are located in a Corticon Server installation's [CORTICON_WORK_DIR]\Samples\Clients directory.
In that folder, the traditional comprehensive API tests are still included:
REST\CcServerRestTest.java
SOAP\CcServerApiTest.java
Deployment\CcdeployApiTest.java
The sample applications that call a Decision Service and their common sample payload are:
C-sharp\RESTClient
C-sharp\SOAPClient

Java\RESTClient
Java\SOAPClient

JavaScript\RESTClient

Python\RESTClient

Data
OrderProcessingPayload.json
OrderProcessingPayload.xml