skip to main content
Corticon Server: Integration & Deployment Guide : Integrating Corticon Decision Services : Service contracts: Describing the call : Setting Service Contract properties
 

Try Corticon Now
Setting Service Contract properties
The following properties are settings for Service Contracts that you can apply to your Corticon Server installation by adding the properties and appropriate values as lines in its brms.properties file, and then restarting Server.
-------------------------------------------------------------------------------
Controls whether minOccurs="0" or "1" for Attributes that are marked as mandatory inside the Vocabulary. By default, all mandatory Attributes have minOccurs="1".
Default value is 1
com.corticon.deployment.schema.attribute.mandatory.minOccurs=1
-------------------------------------------------------------------------------
Controls whether nillable="true" or "false" for Attributes that are marked as mandatory inside the Vocabulary. By default, all Attributes are set to nillable="true".
Default value is true
com.corticon.deployment.schema.attribute.mandatory.nillable=true
-------------------------------------------------------------------------------
Controls whether <choice> or <sequence> tags are used for the <WorkDocuments> section of the generated XSD/WSDL. When useChoice is set to true, <choice> tags are used which results in more flexibility in the order in which entity instances appear in the XML/SOAP message. When useChoice is set to false, <sequence> tags are used which requires that entity instances appear in the same order as they appear in the <WorkDocuments> section of the XSD/WSDL. Some Web Services platforms do not properly support <choice> tags. For these platforms, this property should be set to false.
Default value is true.
com.corticon.deployment.schema.useChoice=true
-------------------------------------------------------------------------------
Add default namespace declaration to the XSD Generation
Default value is true.
com.corticon.schemagenerator.addDefaultNamespace=true
-------------------------------------------------------------------------------
Specifies whether the XSD and WSDL generators adds the usage attribute on the CorticonRequest and CorticonResponse definition. The "usage" is deprecated, and no longer used. However, to be backward compatible with customers that have already generated proxies from older Schemas or WSDLs, the user now has the option to add the usage to the generated .xsd or .wsdl
Default value is false.
com.corticon.servicecontracts.append.usagelabel=false
-------------------------------------------------------------------------------
Specifies whether the XSD and WSDL generators appends the word "Type" at the end of each complexType in the related XSD or WSDL file. This was the standard in earlier versions of the generators.
Default value is false.
com.corticon.servicecontracts.append.typelabel=false
-------------------------------------------------------------------------------
The property ensureComplianceWithDotNET determines whether generated service contracts (WSDL/XSD) are compliant with Microsoft .NET requirements. This property must be set to true when the Corticon Server is deployed inside a Microsoft WCF container.
Default value is false
com.corticon.servicecontracts.ensureComplianceWithDotNET_WCF=false
-------------------------------------------------------------------------------

For information about related properties

See:
*Setting Server execution properties
*Setting Server build properties
*Properties that get baked into Decision Services