skip to main content
Corticon Server: Deploying Web Services with Java : Summary of Java samples
 

Try Corticon Now

Summary of Java samples

Corticon Server for Java contains several sample code files that are useful starting points when building your own integrations.  The sample code files are self-documented. They are installed in your Corticon Java Server installation's [CORTICON_WORK_DIR]\Samples\Clients directory.
Subdirectory
Sample Code file
Usage
SOAP
CcServerApiTest.java
Provides the source code used by testServer.bat to create a command interface for SOAP on the Server API.
Note: Uses Corticon Server in the same JVM as the Java test code and cannot be executed against Corticon Server inside the Progress Application Server (you can, of course, write your own Java client using these APIs to operate against any deployment).
Deploy
CcDeployApiTest.java
Shows how to control the Deployment Console through Java API calls.   This is the source code used by testDeployConsole.bat to create a Windows console interface for Server API.
REST
CcServerRestTest.java
Provides the source code used by testServerRest.bat to create a command interface for JSON/RESTful services on the Server API.
Note: Uses Corticon Server in the same JVM as the Java test code and cannot be executed against Corticon Server inside the Progress Application Server (you can, of course, write your own Java client using these APIs to operate against any deployment).