Definition Type: ComplexType
Name: Transaction
Namespace: http://opentravel.org/common/message/v02
Type: ota2msg:String_Short
Containing Schema: OTA2_Message_v2.0.0.xsd
Abstract
Documentation:
Metadata that describes a message transaction.
Collapse XSD Schema Diagram:
Drilldown into retransmissionInd in schema ota2_message_v2_0_0_xsd Drilldown into status in schema ota2_message_v2_0_0_xsd Drilldown into sequenceNumber in schema ota2_message_v2_0_0_xsd Drilldown into correlationID in schema ota2_message_v2_0_0_xsdXSD Diagram of Transaction in schema ota2_message_v2_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Attributes:
Name Type Default Value Use
correlationID ota2msg:correlationID Optional
sequenceNumber ota2msg:sequenceNumber Optional
status ota2msg:status Optional
retransmissionInd ota2msg:retransmissionInd Optional
Collapse Derivation Tree:
Collapse References:
ota2msg:Transaction