RTIG Examples 1.2c - Using Loose Conformance

The following XML examples demonstrate the use of RTIG to encode requests and responses.  The message parts are coded to conform to RTIG, but the general exchange messages and the service content are only loosely coupled (in contrast to referencing a single concrete  RtigXML schema). 

For each example, both the request and the response are shown. For each service request or service response, separate instance documents are shown (i) for the enclosing general TRIDENT get, register or deliver messages (validating against the rtig_request_response.xsd schema), and (ii) for the RtigXml 'payload' service message contained between the 'any' tags  (validating against  rtig_reference.xsd).

 
Group Name Request Response

Common

Subscription

register

See Stop Status & Vehicle Status  Subscriptions

registrationResponse

registrationResponse error

unregister

registrationDropped

Service

Stop Status

 

StopStatusRequest get

StopStatusDelivery deliver

StopStatusSubscription  register

StopStatusDelivery 1  deliver

StopStatusDelivery 2 deliver

Vehicle Status

VehicleStatusRequest  get

VehicleStatusDelivery  deliver

VehicleStatusSubscription      register

Discovery

Points

(StopPointRequest)

(StopPointsDelivery)

Lines

(LinesRequest)

(LinesDelivery)