About the XML_FlightQuery input message

The XML_FlightQuery input message is supplied so that you can run the XML_FlightQuery message flow to request information about a particular flight and the passengers who have reservations on that flight. The input message contains the number and date of a specific flight.

The flightdetailsquery.mbtest input message contains the following data:

<FlightQuery>
   <FlightNumber>CA937</FlightNumber>
   <FlightDate>20030525</FlightDate>
</FlightQuery>

Compare the input message with the model in the following diagram. See also Structure of the XML_FlightQuery input message.

Diagram showing model of the flightdetailsquery.mbtest input message.Flight Query as the parent node and Flight Number and  Flight Date as the child nodes

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

InputBody.FlightQuery.Number

For more information, see Working with XML messages in the WebSphere Message Broker documentation. See also About the XML_FlightQueryOut message flow.

Back to About the Airline Reservations sample