omf:From omf:PartyId omf:type=urn:duns123456789omf:PartyId
omf:PartyId omf:type=SCACRDWYomf:PartyId omf:Rolehttp:rosettanet.orgrolesBuyeromf:Role
omf:From omf:To
omf:PartyIdmailto:joeexample.comomf:PartyId omf:Rolehttp:rosettanet.orgrolesSelleromf:Role
omf:To
8.4 MessageId element
The MessageId is optional.
Normative MessageId XML schema definition:
element name=MessageId type=omf:non-empty-string
The MessageId element uniquely identifies an individual message. It is useful for persistency and asynchronous calls. Associating the request with the
responseacknowledgement is done with the RefToMessageId element.
The MessageId can be generated by the client or it can be negotiated with a service. The MessageId value must be globally unique. It is suggested that a URI be used with the
time the message was create appended. An example is provided in section 8.6.
8.5 RefToMessageId element
The RefToMessageId element has a cardinality of zero or one. When present, it must contain the MessageId value of an earlier message to which this message relates. If there
is no earlier related message, the element must not be present. An example is provided in section 8.6.
Normative RefToMessageId XML schema definition:
element name=RefToMessageId type=omf:non-empty-string
For Error messages, the RefToMessageId element is required and its value must be the MessageId value of the message in error.
8.6 Timestamp Element
The OPTIONAL Timestamp is a value representing the time that the message header was created conforming to a dateTime [XMLSchema] and MUST be expressed as UTC.
© OGC 2003 – All rights reserved
25
TimeStamp element definition:
element name=TimeStamp type=dateTime
Normative TimeStamp XML schema definition:
element name=TimeStamp type=dateTime
8.7 ExpiryTime element
If the ExpiryTime element is present, it must be used to indicate the time, expressed as UTC, by which a message should be delivered to the To party. It must conform to an
XML Schema dateTime.
Normative ExpiryTime XML schema definition:
element name=ExpiryTime type=dateTime
In this context, the ExpiryTime has expired if the time of the internal clock, adjusted for UTC, of the receiver is greater than the value of ExpiryTime for the message.
If the To party’s receives a message where ExpiryTime has expired, it shall send a message to the From party, reporting that the ExpiryTime of the message has expired.
This message shall be comprised of an ErrorList containing an error with the error code attribute set to ExpiryTimeExpired and the severity attribute set to Error.
The following XML fragment demonstrates the MessageData element’s structure:
omf:Header omf:MessageId20021215111212mymessageid.comomf:MessageId
omf:TimeStamp2002-12-15T11:00:00omf:ExpiryTime omf:ExpiryTime2002-12-15T11:15:00omf:ExpiryTime
omf:RefToMessageId2002-12-15T11:12:15anothermsgid.com
omf:RefToMessageId omf:Header
8.8 Action element