Java Sample Calls

The following sample processes take you through the steps required to work with the basic functions of the Galileo Web Services. These sample include specific tasks, as well as sample code. Please read the Disclaimer about the materials and samples presented in this help system.

This sample is written in Java for a J2EE platform. See Sample Web Service Calls for samples in additional languages and platforms. See Sample Scenarios for examples of using combinations of samples to complete a travel business process.
 

Sample

Demonstrates How To

Sample 1
Request a general air availability using the XML Select Web Service.

  • Connect to the XML Select Web Service.

  • Connect to Galileo Web Services through a proxy server.

  • Use XML Select availability transactions.

Sample 2
Reserve the selected air availability responses.

  • This sample used to use the BookTrip method in the Reservation Builder eBL. It used the response data from the air availability request in Sample 1 to book an air reservation.

  • Reservation Builder eBL has been retired. The sample has been removed from the help system.

  • Booking calls can be made through  a combination of transactions in the XML Select Web Service.

Sample 3
Use the air availability results from Sample 1 to make a Flight Information eBL call.

  • Connect to Flight Information eBL.

  • Use the Travel Codes Translator eBL.

  • Retrieve data from an XML response.

Sample 4
Decode air vendor codes from the air availability response in Sample 1.

  • Connect to the Travel Codes Translator eBL.

  • Retrieve data from an XML response.

Sample 5
Retrieve detailed itinerary information in a single transaction.

  • Connect to the Itinerary eBL.

  • Retrieve data from an XML response.

Sample 6
Retrieve complete trip itineraries, and alternatives, with prices for air, car, and hotel selections in one call to the CRS.

  • This sample used to use the Trip Planner eBL.

  • Trip Planner eBL has been retired. The sample has been removed from the help system.

  • Individual transactions for shopping, availability, and faring are contained in the XML Select Web Service.

 

Sample 7
Cancel the reservation that was booked in Sample 2.

  • This sample used to use the CancelTrip method in the Reservation Builder eBL.

  • Reservation Builder eBL has been retired. The sample has been removed from the help system.

  • Cancel calls can be made through  a combination of transactions in the XML Select Web Service.