skip to main content
Corticon Server: Integration & Deployment Guide : Service contract examples : Extended service contracts
 

Try Corticon Now

Extended service contracts

NewOrModified attribute

Corticon service contract structures may be extended with an optional newOrModified attribute that indicates which parts of the payload have been changed by the Corticon Server during execution.
<xsd:attribute name=newOrModified type=xsd:boolean use=optional />
</xsd:complexType>
Any attribute (the Vocabulary attribute) whose value was changed by the Corticon Server during rule execution will have the newOrModified attribute set to true. Also,
In FLAT messages, the newOrModified attribute of an entity is true if:
*Any contained attribute is modified.
*Any association to that entity is added or removed.
In HIER messages, the newOrModified attribute of an entity is true if the entity, or any of its associated entities:
*Any contained attribute is modified.
*Any association to that entity is added or removed.
This attribute (XML attribute, not Vocabulary attribute) is enabled and disabled by the enableNewOrModified property in your brms.properties file.
In order to make use of the newOrModified attribute, your consuming application must be able to correctly parse the response message. Because this attribute adds additional complexity to the service contract and its resultant request and response messages, be sure your SOAP integration toolset is capable of handling the increased complexity before enabling it.