<xsd:complexType name="Transaction">
<xsd:annotation>
<xsd:documentation source="Description">Metadata that describes a message transaction.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="OTM2" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">12345</otm:Example>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:annotation>
<xsd:documentation source="Description">The transaction ID.</xsd:documentation>
<xsd:documentation source="Implementer">Unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction).</xsd:documentation>
<xsd:documentation source="Implementer">This would be sent in all request and response messages that are part of an on-going transaction.</xsd:documentation>
</xsd:annotation>
<xsd:extension base="String_Short">
<xsd:attribute name="correlationID" type="String_Short" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">An ID for end-to-end correlation of log messages with the corresponding Web service message throughout the processing of the Web service message.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="OTM2" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">6712</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="sequenceNumber" type="xsd:positiveInteger" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The sequence number of the transaction assigned by the sending system for ordered message processing or message resynchronization.</xsd:documentation>
<xsd:documentation source="Implementer">Message resynchronization typically is required if a system has been off-line and needs to retrieve messages that were missed.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="OTM2" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">6</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="status" type="Enum_TransactionStatus" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Where this message falls within a sequence of messages.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="OTM2" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Start</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="retransmissionInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">If true, the message is being re-sent after a failure.</xsd:documentation>
<xsd:documentation source="Implementer">It is recommended that this attribute is used (i.e., set to TRUE) only when a message is retransmitted.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
|