Sample Web Service Calls
The following sample process illustrates the steps required
to work with basic functions of the Galileo Web Services. These samples
include specific tasks, as well as sample code for various steps. Sample
code or detailed descriptions for various steps are provided the following
languages:
The above samples require full access to Galileo Web
Services, as well as the Apollo or Galileo CRS. If you do not yet have
full access, you can use the Sample Host Simulator Request
to perform a simulated Web Service call.
The Reservation
Builder eBL and Trip Planner eBL are retired. Customers that currently
use these products will continue to be supported.
In addition to
the sample Web Service calls provided in this topic, the Galileo Web Services Sample Site provides functional
demonstrations and samples for implementing a complete travel reservation
web site that incorporates air, car, and hotel booking. In
addition, the following samples are also available as part of a separate
sample applications that use each of the four languages.
Samples
The following samples are available in each of the four
languages. See Sample Scenarios for
examples of using combinations of samples to complete a travel business
process.
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 Step 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 Step 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 Step 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.
|