● Travel Never Stops. Neither Do We. 365 Days a Year.

OpenTravel OTA XML Partner Message Profiles

Prove that an agreed OpenTravel XML release, message subset and partner rules support a real reservation before building a new connection.

Two rail distribution staff read paperwork at a desk overlooking a passenger station

Turn an XML OTA document into a partner agreement

XML OTA often refers to structured travel messages based on OpenTravel Alliance specifications. The format is one part of the connection, alongside the agreement about which operations can happen, which values mean the same thing on both sides, and how a failed or uncertain exchange gets resolved. A successful schema validation may tell you a booking response has an allowed structure. The release team still needs evidence that the response confirms the exact journey the customer selected and that the correct party can retrieve it later. Treat format, business meaning and ownership as three separate lines of acceptance.

OpenTravel's specification downloads and code lists distinguish OpenTravel 1.0 XML and OpenTravel 2.0 JSON or XML and list separate published releases. The useful information for adapter work is the release that a specific partner actually accepts, along with any agreed supplements or narrower subsets. A release identifier displayed on an internal wiki helps as a pointer. The implementation team needs the actual specification artefacts, the matching code list where used, sample messages, configuration notes and the person who can clarify differences. Agree which copy is authoritative before fixtures diverge.

Describe one complete transaction

Suppose Cedar Trace Rail, a fictional regional operator, distributes reserved seats through a fictional travel seller called Willow Junction. The seller can offer selected departures for one route, but the operator's control office keeps all capacity decisions and station staff retain ownership of boarding. Their first release supports two adults travelling together, one-way fares and a single confirmation per travelling party. Accessibility requests and timetable disruptions go to a staffed queue under a separately agreed process. These limits belong in the partner profile and in the customer experience. They determine which invitations the seller can show when it has insufficient information.

Write down the complete example before choosing message fields. The traveller selects a Tuesday departure from Pinebridge at 09:15 local time, chooses a flexible ticket, enters two passenger names and accepts a quote. The retailer confirms the order, receives the supplier reference and later retrieves the same journey when a customer calls. The train may cross a time zone, so the departing and arriving times belong with each station. Document what the parties display when only one seat is available. Operations staff should be able to distinguish a rejected sale from a confirmed sale with a notification that was late.

Map which part of that sequence each message proves. Shopping can establish an eligible departure and observed inventory. Booking acknowledgement can establish receipt of a request. Confirmation has to establish the accepted commitment and the identifying references. If the partner produces a separate fulfilment document or counts acceptance differently, the profile should name the evidence that permits the seller to send a customer confirmation. Keeping these distinctions in the acceptance record gives designers a vocabulary for the waiting state, gives testers something to assert and gives staff a way to explain what they know.

Identify the profile, namespace and business rules

Keep a short version record beside the connection configuration. Include the partner name, message family, namespaces, release identifier, expected character encoding, receiving environments and the source of each version. Add a row for any partner supplement with the named owner and version date. Separate service configuration from the transaction contract so renewing a certificate or changing a host can be tested without presenting the change as new booking semantics. Where two releases coexist, record which counterpart uses each version, who can move them, and how they confirm the effective date in their own systems.

The W3C Namespaces in XML Recommendation explains how namespaces qualify element and attribute names. In a fixture, one dispatcher may use a default namespace while another uses a prefix. A comparison based on literal prefix spelling may report a difference that does not change the expanded element name. A visually similar element with a different namespace can instead be a different instruction. Make a fixture for each of these situations and agree what happens when a partner-supplied extension appears in the payload. Check that test samples use the identifiers registered for the agreed profile.

Decide how to handle information the schema permits

Optional does not tell the business what to do. The profile might allow a birth date to be omitted for two eligible adult passengers, while another integration uses age to decide if the fare applies. Cedar Trace records the minimum passenger data required for each requested passenger type and keeps confirmation evidence in the agreed place. Test the combinations the contract supports, including absent, empty and explicitly unknown values. Decide early whether a warning is sufficient to proceed and require an operator decision for cases where the rule about age or eligibility cannot be applied with the information at hand.

An industry code list can define a set of labels while an individual partner accepts a smaller set or binds a code to an extra condition. Maintain a reviewed translation table between the partner code and the local product concept. For example, keep flexible fare eligibility separate from whether an agent can change a confirmed order from the seller's workstation. Each value should carry its source and an expectation for unrecognised codes. A checkout that silently assigns an unknown flexibility code to the most attractive fare badge could pass a visual test and still give the buyer incorrect information about changing a journey.

Illustrative Cedar Trace acceptance record for the first route
ExchangeEvidence the seller should saveDecision when evidence is incomplete
Shopping for two adultsOperator service and departure identifiers, the observed space and fare referencesRe-query the approved connection if the reference expired and ask the customer to select again if the offer changed
Confirming a flexible quoteLocal checkout attempt, the submitted partner reference and the operator's returned stateHold the order in a review state if confirmation is uncertain and check existing acceptance before a new request
Retrieving an issued orderSeller reference, operator locator and details that match the accepted journeyUse the control office route if automatic retrieval has not been approved
Changing a supported departurePrior order state, recorded customer acceptance and replacement itinerary evidenceLeave existing authority visible when the new state is unresolved
Resolving a disruptionEffective operator notice and customer servicing ownerSend a staffed task when a notification does not identify the affected segment

Write fixtures that prove the same meaning on both systems

Create a compact test fleet from the first route instead of a large pile of sample XML. Use an ordinary sale, a departure with one seat available, a malformed message, a well-formed message that lacks a profile requirement, an expired offer and a temporarily unavailable operator. Include enough values to expose ambiguity in dates, fare conditions and references. Set names and contact details to synthetic values. Associate fixtures with the approved release in a way that lets the team repeat them exactly after a change. Preserve the observed outcome as evidence and identify which part was simulated.

There are several useful kinds of comparison. A parser check tells you whether content can be read and safely separated into known structures. A schema check confirms the contracts you chose at the format layer. A profile check examines mandatory subsets and agreements. A cross-message check proves relationships through the flow, such as whether a reservation refers to the selected offer and whether two people appear in the confirmed party. The partner's test environment can then establish whether the other company accepts the same behaviour. Keep all results together so a green parser test cannot mask a separate open question about seat ownership.

Trace the exact journey through a fixture

At Pinebridge, the expected departure display is 09:15 local time. The partner's example returns a combined date and offset from its reservation system and a separate identifier from the timetable. The retailer should compare the accepted value against the choice the customer saw. If a daylight-saving transition is relevant to the actual market, add an example before and after it. When the time is ambiguous, document how the partner disambiguates it. A day-only field and a timestamp tell different stories, and the caption on the booking document needs the version a traveller can use.

Add a separate fixture for a partially populated passenger field. Suppose travelling adults can be booked without email addresses because the agency is the contact of record, but assistance requests require a reachable contact. The acceptance case should show that a basic sale works with minimum evidence and that a protected support case enters its agreed path. Record who can see that note and for how long the test harness retains it. Keeping requirements in the connection profile is preferable to requiring every field at the retail form and collecting information that will never be used.

A rail operations specialist files colour-coded papers beside a model station

Compare what a tester sees and what staff can retrieve

Have a seller employee start with the channel's own order number and read the matching operator locator without developer help. Have a partner employee start with that operator locator and identify the relevant channel record through the approved route. If the partner fulfils by a different reference, connect that identifier to the acceptance evidence while preserving the original. A masked display or masked printout can keep necessary reference details in the support process while protecting customer information. Agree whether customer-facing documents contain one or both identifiers, and train support staff to ask for the correct one.

Style sample outputs like the real workflow. A partner error supplied as a warning may allow an operator to proceed after reading conditions. A result that says a selected item is awaiting provider attention may need a visibly unresolved customer state and a staff reminder. Verify each status with both sides rather than assigning a local success flag to any message that returned quickly. Make the release team show a March timetable, an eligible advance fare and a departure that cannot be offered on that market before agreeing that a successful happy-path test is sufficient.

Treat an uncertain submission as its own outcome

A dropped connection after sending a booking can leave the retailer without a final response. An immediate retry risks a separate commitment if the provider already accepted the first request and offers no safe repeat mechanism. The buyer channel should give the attempt a durable internal reference, follow the partner's documented recovery procedure and retain enough evidence to compare candidate orders. Where the partner supports searching by an agreed reference, make that a documented step. Where only staff can resolve it, provide a clearly assigned pending task with the elapsed time and action history.

In a controlled test, have Cedar Trace accept the booking, then prevent Willow Junction from receiving the response. The checkout displays a checking state and keeps the customer's choice while the duty operator retrieves confirmation through the allowed path. When the locator arrives, match party size, travel date, fare conditions and accepted amount before issuing the normal customer document. Give the test a second scenario where the partner confirms the booking never happened. The retailer can then decide with the customer whether to resubmit, obtain a fresh quote or close the attempt. Test notifications to verify the customer receives a single coherent outcome.

Preserve authority during replay and reconciliation

A replay from a synthetic incident should identify the message type, applicable profile version and accepted source. An order correction that arrived out of sequence may describe a state that was already superseded. Work with both organisations to agree whether order versions, effective times or a fresh authoritative read can resolve ordering. Store enough event information for troubleshooting and keep customer information out of fixtures, screenshots and broadly accessible logs. Record when a human can resume a stalled job and what proof they must inspect before proceeding.

Separate shopping performance figures from operational figures. A search response median might indicate general responsiveness, while the recoverable order failure rate can identify which bookable cases actually need support. Maintain a table of per-step counts and their denominators. Thirteen recovered timeouts out of thirteen recovered attempts tells you about those exact attempts. The figure cannot establish that every previously uncertain booking was found. Ask operations to reconcile the locally unresolved set against partner evidence, then track issues that are outside the current scope so test outcomes remain interpretable.

Release the profile on a bounded route and rehearse a change

Start with a route and fare family whose operators and seller support staff can both attend the launch. Share the checklist of intended currency, codes, conditions, lookup references and acceptable states. State what evidence will pause new sales, such as an unapproved code appearing across multiple departures or duplicate commitments after a retry. Prepare how both parties will stop new traffic while keeping already accepted reservations available for lookup and fulfilment. In this example, the rail control office can continue servicing existing bookings if Willow Junction temporarily suspends shopping.

When a newer profile version is available, ask each partner representative which operations move together. It may be safe to switch fresh quote requests, whereas an existing order still belongs to the earlier origin until the operator explicitly transitions it. Use separate rehearsal references. Compare the old and new results by the business decision they support, such as whether two seats were actually reserved and whether cancellation is still allowed. Keep both mappings near their release notes and retain them so a support lead can understand an old case after the code that created it stops serving new traffic.

Handover questions the partner team can answer themselves

Have a partner operations colleague explain what version the seller uses and locate the first production booking from their own console or authorised interface. Ask them to demonstrate their path for a timetable change with an unresolved contact. Have an engineer choose a fixture and show how their team would verify the partner code list after a coordinated deployment. These tests exercise the business agreement, data mappings and documentation together. Close each handoff with an owner, revision date and a named route for exceptions. Update the profile when the real answer differs from the initial diagram.

Invite commercial and operations staff to review the way a customer sees a changeable fare. A badge can preserve the local brand and layout while the details communicate the contract's current conditions. When an offer originally allowed a change but an assisted change request needs further approval, explain the customer's next step based on the accepted state and available servicing channel. Offer acceptance and post-purchase authorisation should each have an explicit place in the test suite so a later schema update can be checked against the front of house as well as the adapter.

Measure a controlled pilot on real working days

Record the pilot's intended scope in a common calendar that considers the retailer's hours and the control office's coverage. For example, allow new sales on two weekday departures during one staffed shift. Check vendor response patterns after an opening rush, at a shift change and during the operator's scheduled maintenance window. Someone reviewing the dashboard should be able to see how many customers reached quoting, how many chose an offer and how many confirmations reached the customer's documents. Review counts alongside the exception list so the support effort cannot disappear into a single conversion figure.

Suppose the pilot's first day records twenty eligible checkout attempts, eighteen confirmed customer documents, one customer withdrawal before committing and one outstanding enquiry waiting for operator retrieval. Establish whether those twenty records genuinely refer to different attempts. Inspect the waiting case before the next day, checking if the two parties agree about the reference and whether seats remain committed. Write a note linking the practical result to the particular fixture that was meant to guard against the problem. Expand the pilot only after the distinct outcomes can be explained by the staff who will handle the following shift.

Prepare the final casebook as a maintained project asset. Include the tests and the questions that produced the approved answer, such as how authority travels when a partner sends an industry code with confined validity. Add a verified contact path for future profile changes and store versioned approved examples in the appropriate project records. The result should be easy for a replacement engineer to exercise in a test environment while the operations lead traces an order from the original offer through to arrival or closure. That is a durable way to judge whether the XML OTA connection is doing the work the partnership needs.

Keep the acceptance rules enforceable between releases

The partnership can introduce a new fare without asking both development teams to remember a conversation. In the register, give traffic owners a specific action to take when they recognise an unsupported fare. Tell them when to document a candidate sample for the profile owner and who confirms that it can become commercially available. Then require a positive fixture and a negative one. The negative fixture might be the new flexibility class applied to an older, explicitly restricted departure. These paired cases preserve the practical line between an option becoming known and its use being authorised.

Make an exception file small enough to read at a shift change

A Cedar Trace duty lead should be able to identify each open case from an internal order reference, the safe time of the next action and the team that has it. Put those three fields in the visible handover. Attach controlled evidence, when relevant, to the reference used by the staff member who will review it. A practical exit criterion is that the incoming shift can close a synthetic case correctly without reviewing the raw wire message. After the first month, remove exceptions from the workflow when they are no longer supported, documenting how older orders can still be understood.

Design the review around a small count of causes rather than the many possible platform errors. For the first route, separate business rejection, delayed authority, translation mismatch and customer withdrawal. This helps the product owner compare changes in the channel after adjusting a fare or switching a schema. If the latest sample includes an outcome that fits none of the existing states, let the staff record it without altering earlier bookings. The profile owners can then update the tests and choose how to communicate the change before the next tranche of partner traffic.