skip to main content
Corticon Server: Integration & Deployment Guide : Service contract examples : Examples of XSD and WSDLS available in the Deployment Console : 1 Vocabulary-level XML schema, FLAT XML messaging style : 1.4 MessagesType

Try Corticon Now
1.4 MessagesType
<xsd:complexType name=MessagesType>
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)…
A Messages element includes zero or more Message elements.
<xsd:element name=Message type=tns:MessageType minOccurs=0
maxOccurs=unbounded />
This version number corresponds to the responding Decision Service's version number, which is set in Corticon Studio.
<xsd:attribute name=version type=xsd:string />
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>
These severity levels correspond to those of the posted Rule Statements…
<xsd:element name=severity>
         <xsd:restriction base=xsd:string>
            <xsd:enumeration value=Info />
            <xsd:enumeration value=Warning />
            <xsd:enumeration value=Violation />
The text element corresponds to the text of the posted Rule Statements…
<xsd:element name=text type=xsd:string />
<xsd:element name=entityReference>
The href association corresponds to the entity references of the posted Rule Statements…
<xsd:attribute name=href type=xsd:anyURI />
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 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.
*false, the Server may return elements in any order. Consuming applications should be designed accordingly. This setting results in slightly better Server performance.