Corticon Studio can produce your preferred type of service contract for the project's Vocabulary or a Ruleflow that uses the Vocabulary. The output files are generated to the Studio's [WORK_DIR]\Reports directory.

Generating Vocabulary level service contracts

You can produce Vocabulary level service contracts as WSDL or XSD

Vocabulary-level WSDL

Select the Vocabulary you want. Open it in the editor. Choose the menu command Vocabulary > Export WSDL.

Its dialog box opens:

The Messaging style must be selected for the Finish button to be enabled. In the dropdown menu, choose Flat or Hier, as shown:

You can change the To directory to a preferred location. Click Finish. The report is generated and saved as VocabularyName.wsdl in the To Directory location.

Vocabulary-level XSD

Select the Vocabulary you want. Open it in the editor. Choose the menu command Vocabulary > Export XSD.

Its dialog box opens:

In the Messaging style dropdown menu, choose Flat or HierClick Finish. The report is generated and saved as VocabularyName.xsd in the To Directory location.

Generating Decision Service level service contracts

You can produce Decision Service level service contracts as WSDL or XSD.

Decision-service-level WSDL

Select the Ruleflow you want. Open in the editor. Choose the menu command Ruleflow > Export WSDL.

This dialog box opens:

Click Finish. The report is generated and saved as RuleflowName_0.wsdl in the To Directory location.

Decision-service-level XSD

With the Ruleflow you want open in its editor, choose the menu command Ruleflow > Export XSD.


Its dialog box opens:

Click Finish. The report is generated and saved as RuleflowName_0.xsd in the To Directory location.

Decision-service-level Service Contract CSV and Excel

With the Vocabulary you want open in its editor, choose the menu command Service Contract.


Its dialog box opens:


Click Finish. Two reports are generated and saved: RuleflowName_ServiceContract.csv and RuleflowName_ServiceContract.xml in the Output Folder location. These files provide the basis for defining a JSON/REST service contract. See Generic service contract