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 cancelreservation.mbtest input message 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. See also Structure of the XML_CancelReservation input message.

Diagram showing hierachical model of the cancelreservation.mbtest input message.

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, see Working with XML messages in the WebSphere Message Broker documentation. See also About the XML_CancelReservation message flow.

Back to About the Airline Reservations sample