This attribute contains the Decision Service Name. Because a Vocabulary-level service contract can be used for several different Decision Services (provided they all use the same Vocabulary), a Decision Service Name will not be automatically populated here during service contract generation. Your request document must contain a valid Decision Service Name in this attribute, however, so the Server knows which Decision Service to execute…
This attribute contains the Decision Service target version number. While every Decision Service created in Corticon Studio will be assigned a version number (if not manually assigned), it is not necessary to include that version number in the invocation unless you want to invoke a specific version of the named Decision Service.
This attribute contains the invocation timestamp. Decision Services may be deployed with effective and expiration dates, which allow the Corticon Server to manage multiple versions of the same Decision Service Name and execute the effective version based on the invocation timestamp. It is not necessary to include the invocation unless you want to invoke a specific effective version of the named Decision Service by date (usually past or future).
Each CorticonResponseType element produced by the Server will contain one Messages element, but if the Decision Service generates no messages, this element will be empty:
Entities within WorkDocumentsType may be listed in any order.
<xsd:complexType name=WorkDocumentsType>
If you plan to use a software tool to read and use a Corticon-generated service contract, be sure it supports this <xsd:choice> tag…
<xsd:choice maxOccurs=unbounded>
In a Vocabulary-level XSD, a WorkDocumentsType element contains all of the entities from the Vocabulary file specified in the Deployment Console. All entities are optional in message instances that use this service contract (minOccurs="0" indicates optional) and have the form:
If you plan to use a software tool to read and use a Corticon-generated service contract, be sure it supports this <xsd:sequence> tag (see important note below)…
<xsd:sequence>
A Messages element includes zero or more Message elements.
A Message element consists of several items – see the Rule Language Guide for more information on the post operator, which generates the components of a Messages element.
<xsd:complexType name=MessageType> <xsd:sequence>
These severity levels correspond to those of the posted Rule Statements…
The XML tag <xsd:sequence> is used to define the attributes of a given element. In an XML Schema, <sequence> requires the elements that follow to appear in exactly the order defined by the schema within the corresponding XML document.
If the property com.corticon.ccserver.ensureComplianceWithServiceContract is:
true, the Server will return the elements in the same order as specified by the service contract, even for elements created during rule execution and not present in the incoming message. Default value is true (ensure compliance and perform the sorting, if necessary)
false, the Server may return elements in any order. Consuming applications should be designed accordingly. This setting results in slightly better Server performance.
A VocabularyEntityNameType contains zero or more VocabularyAttributeNames, but any VocabularyAttributeName may appear at most once per VocabularyEntityNameType…
Associations between VocabularyEntityNames are represented as follows. This particular association is optional and has one-to-one or many-to-one cardinality:
Every VocabularyEntityNameType will contain a unique id number – if an id is not included in the CorticonRequest element, the Server will automatically assign one and return it in the CorticonResponse
Every attribute in a Corticon Vocabulary is one of five datatypes – Boolean, String, Date, Integer, or Decimal. Thus when entities are passed in a CorticonRequest or CorticonResponse, their attributes must be one of these five types. In addition, the ExtURIType type is used to implement associations between entity instances. The href attribute in an entity points to another entity with which it is associated.