About the XML_CancelReservation input message

The XML_CancelReservation input message is supplied so that you can run the XML_CancelReservation message flow to cancel some of the reservations that were made by the XML_Reservation message flow. The input message contains a list of the reservation numbers to cancel.

The input message (cancelreservation.mbtest) contains the following data:

<CancelReservation>
   <ListOfReservations>
      <ReservationNumber>CA937200305251</ReservationNumber>
      <ReservationNumber>CA937200305252</ReservationNumber>
      <ReservationNumber>CA937200305253</ReservationNumber>
      <ReservationNumber>CA937200305254</ReservationNumber>
   </ListOfReservations>
</CancelReservation>

Compare the input message with the model in the following diagram. You can also read a textual description of the message structure.

Look at the ESQL in Creating the XML_CancelReservation message flow. See how the message flow navigates the message to certain elements in the tree. For example:

InputBody.CancelReservation.ListOfReservations.*[]

and

InputBody.CancelReservation.ListOfReservations.ReservationNumber[J]

For more information, read about XML messages in the WebSphere Message Broker documentation. Also take a look at the XML_CancelReservation message flow.

Main Page icon   Back to About the Airline Reservations sample