SWS Developer Guide
SWS Developer Guide
Sabre Web Services: Guide to Accessing and Consuming Services, July 15, 2014 v1.40
2003-2014 Sabre Holdings Inc. All rights reserved.
This documentation is the confidential and proprietary information of Sabre Inc. Any unauthorized use,
reproduction, preparation of derivative works, performance, or display of this document, or software
represented by this document, without the express written permission of Sabre Inc., is strictly prohibited.
Sabre, Sabre Holdings, Sabre Travel Network, and Sabre Web Services are trademarks and/or service
marks of an affiliate of Sabre Holdings Corporation. All other trademarks, service marks, and trade names
are the property of their respective owners.
Disclaimer of Warranty and Limitation of Liability
This software and any compiled programs created using this software are furnished as is without
warranty of any kind, including but not limited to the implied warranties of merchantability and fitness for a
particular purpose. No oral or written information or advice given by Sabre, its agents or employees shall
create a warranty or in any way increase the scope of this warranty and you may not rely on any such
information or advice.
Sabre does not warrant, guarantee, or make any representations regarding the use, or the results of the
use, of this software, compiled programs created using this software, or written materials in terms of
correctness, accuracy, reliability, currentness, or otherwise. The entire risk as to the results and
performance of this software and any compiled applications created using this software is assumed by
you. Neither Sabre nor anyone else who has been involved in the creation, production or delivery of this
software shall be liable for any direct, indirect, consequential, or incidental damages (including damages
for loss of business profits, business interruption, loss of business information, and the like) arising out of
the use of or inability to use such product even if Sabre has been advised of the possibility of such
damages.
Sabre Holdings Inc.
3150 Sabre Drive, Southlake, TX 76092
Tel: 682 605 1000
www.sabre-holdings.com
Page 2
Table of Contents
Preface ...................................................................................................................................................... 5
Sabre Web Services Resources ........................................................................................................................... 9
Sabre Web Services Usage Requirements ....................................................................................................... 11
External Resources ............................................................................................................................................... 14
Technical Support.................................................................................................................................................. 16
Chapter 1: Introduction to Sabre Web Services ....................................................................................... 17
About Sabre Web Services .................................................................................................................................. 18
Types of Web Services ......................................................................................................................................... 18
Standards and Specifications .............................................................................................................................. 22
Requesting Payload Content ............................................................................................................................... 26
Security ................................................................................................................................................................... 26
Network Connectivity ............................................................................................................................................ 28
Sabre Web Services Connections ...................................................................................................................... 28
Errors ....................................................................................................................................................................... 29
Chapter 2: SOAP Formats/Requirements ................................................................................................ 30
SOAP Message Overview .................................................................................................................................... 30
SOAP Message Sequence and Format ............................................................................................................. 34
Chapter 3: Sabre XML ............................................................................................................................. 55
WSDL Documents for Sabre XML ...................................................................................................................... 55
Sabre XML Schemas ............................................................................................................................................ 62
Technologies for Working with Web Services ................................................................................................... 66
Versioning of Sabre XML Schema and WSDL Documents ............................................................................ 69
Chapter 4: Connection Management ....................................................................................................... 73
Sabre Web Services Connections ...................................................................................................................... 73
Connection Management Messages .................................................................................................................. 74
Chapter 5: Business and Application Logic.............................................................................................. 97
Maintaining Session State .................................................................................................................................... 97
Sabre Web Services Workflows ........................................................................................................................ 101
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 3
Page 4
Preface
About This Guide
This document provides guidance in developing, accessing, and consuming Sabre Web
Services.
Caution
When a client or solution books travel arrangements utilizing a URL that resolves to
the back-end production system, the transactions are recorded in the live, production
Sabre system, and real-time inventory is decremented. This applies to the following
URL:
https://webservices.sabre.com/websvc
Please be sure to cancel any bookings created for test purposes. If these bookings
are not canceled, you and possibly your customers will be billed by suppliers or other
vendors for all associated fees.
Scan charges may apply whenever a client application interacts with any of the
environments established for Sabre Web Services. Please consult your contract for a
description of these charges. For tips on minimizing scans please refer to the section
of this document titled, Minimizing Scans.
Advisories
To assist with capacity planning, advanced notification is required for the following
activities.
Performance and heavy load testing. These types of tests require notification a
minimum of 5 business days before conducting the tests.
Planned production dates and projected volumes. Notification must be a minimum of 120
business days prior moving to production.
For complete information about the systems and environments available for client use, please
refer to the section of this document titled, Sabre Web Services Environments.
Organization
The preface outlines the recommended background for developing clients that
consume Sabre Web Services, system requirements, and resources. The preface
also outlines where to find information about Web services, standards, and other
Internet technologies.
Chapter 1 introduces the Sabre Web Services product, the standards and
Page 5
specifications the product is designed to meet, the versioning strategy for the TPF
Connector-based Sabre Web Services, and includes a discussion related to
connectivity and security.
Chapter 2 describes the format and sending sequence of the SOAP messages used
to connect to the Sabre Web Services gateway to consume Sabre Web Services.
Complete requirements are also provided in Appendix B.
Chapter 3 discusses the Sabre XML specifications, versioning of the WSDL and
schema documents, as well as the versioning system that is applied to the TPF
Connector-based Sabre Web Services.
Chapter 5 includes topics related to business and application logic, managing content in a
Sabre session, and requesting service versions.
Chapter 6 describes the environments that are available for consuming Sabre Web
Services.
Appendix B illustrates how to identify the URLs for WSDL documents and their
associated schema documents.
The Glossary defines the terms and acronyms utilized in this document.
Use
Prior to designing and developing Web services-based clients or other solutions using Sabre
Web Services, it is strongly recommended that application developers first read this
document. This document discusses topics of great importance, such as the SOAP
message requirements, connection strategies, and environments for consuming Sabre Web
Services.
In addition to this document, it is also important to study the documentation available on the
Sabre Web Services Developer Resource Center, commonly referred to as the DRC, which
is accessible via https://drc.sabre.com. The Developer Resource Center contains service
descriptions, design documents, as well as WSDL/schema documentation which are all
essential to successfully utilize the product. Accessing this resource center requires a user
name and password, which is provided when clients sign up for the product.
Page 6
Document Conventions
Terms
The use of terminology in this document is defined in the following table. For additional terms
and information please refer to the glossary.
This term
Refers to
Client
Connection
Developer Resource
Center
(DRC)
Domain
Internet Pseudo City Code The code that identifies your organization. Application
developers are given a value for Organization as part of
(IPCC)
the security credentials provided for accessing Sabre
Web Services. The code may or may not be an IPCC; it
may be a PCC or other identifier.
All Web services provided by Sabre Holdings. These
Sabre Web Services
services include those that obtain their content from the
Sabre global distribution system or Sabre open systems
as well as services used to connect to the Sabre Web
Services infrastructure.
TPF Connector-based
Sabre Web Services
Open systems-based
Sabre Web Services
Page 7
RQ/RS
Sabre session
Sabre system
Sabre XML
Security token
Subscriber
Page 8
Note: Please consult these documents for the valid list of elements and attributes that are
included in the service. The design documents list the valid elements and attributes for the Web
service and version, along a brief description and sample values. They also contain the
equivalent Sabre formats for users familiar with native Sabre.
Note: The majority of Sabre Web Services are based on OpenTravel specifications, and
consequently, the associated schemas may contain elements and attributes defined by
OpenTravel that Sabre Web Services do not use. Therefore, it is important to format request
payloads to use only the elements and attributes that are present in the request and response
design XML documentation.
Sample Clients
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 9
The following sample clients are available on the DRC. They assist with developing and
consuming the session management and TPF Connector-based Sabre Web Services. Each
sample is contained in a ZIP file which describes the sample, has installation information for
the platform of the sample, steps for running the sample, and any required JAR files.
The following samples are available:
Sample Java test client for non-WSDL consumption. This client can execute any of
the session management services and TPF Connector-based Web Services, one at a
time, in sequence. The purpose of this utility is to demonstrate how to connect to
Sabre Web Services. This has the JAR files needed to run the sample and the
licenses.
Sample C# client code that consumes a TPF Connector-based Web service with
WSDL using the Microsoft .NET Framework.
Sample Java client code that consumes a TPF Connector-based Web service with
WSDL using Apache Axis. This has three source code files that consume both the
session management messages and a TPF Connector-based Web service. It also
includes the necessary Axis JAR files needed to run this client.
Page 10
For Java-based clients using SSL, Java Runtime Environment versions 1.3.1_10 and later,
1.4.1_06 and later, 1.4.2_03 and later
Apache Axis versions 1.1/1.1.1 can be used to consume Sabre Web Services.
For the development kits, see the Sun Microsystems Web site at the following URL:
http://java.sun.com/j2se/downloads.html
Page 11
Page 12
Each IPCC is allocated 1 non-administrative account for every 50 Sabre sessions in its
session pool. (Sabre sessions are also referred to as TAs, and the session pool and TAM
pool are the same.)
An accounts security credentials consist of the following:
Username
Password
Organization
Domain
Note: The passwords of user IDs for connecting to Sabre Web Services do not expire
because the IDs are set up as robotic accounts. As a result, it is not necessary to change
them every 90 days.
Format Finder
(Optional) Sabre Travel Network-based customers who want to use Format Finder require a
login ID for the Sabre system. Format Finder is available via https://eservices.sabre.com.
Sabre Web Services security credentials can be used to log into this system.
Page 13
External Resources
To learn more about XML, SOAP, WSDL, the W3C, Web services, OpenTravel, and other
related technologies and organizations, please visit the Web sites below:
To obtain this...
http://www.oasis-open.org
http://www.ws-i.org
http://www.w3c.org/XML/Schema
http://www.opentravel.org
http://www.webservices.org
http://www.w3c.org
http://www.ebxml.org
WSDL
http://www.w3c.org
http://www.w3c.org
http://www.zdnet.com
and
http://www.ebxml.org/specs
Page 14
To obtain this...
http://www.apache.org
http://ws.apache.org/axis/index.html
http://ws.apache.org/axis/java/
reference.html
http://msdn.microsoft.com/netframework
http://msdn.microsoft.com/downloads
Page 15
Technical Support
There are several ways to obtain technical support. Please note that a pseudo-city code, or PCC,
is required.
Telephone:
When reporting production or other critical/time sensitive issues, please contact us via the
telephone:
USA: 800-678-9460
Canada: 682-605-5570
International: 598-2-518-6020, or your regional Sabre Software help desk.
Email:
Email is monitored 24 x 7 with a response within 24 hours or less:
Providing the support desk with the necessary files at the time of initial contact improves our ability
to troubleshoot and provide a timely resolution.
Please include the Sabre pseudo-city code (PCC) where the issue is occurring.
When reporting an issue with Sabre Web Services, input and output payloads are required.
Please attach the payloads as separate files, and name them clearly.
To help ensure that our environment is free of viruses, our policy mandates that all
messages received by Sabre from external sources follow special file name guidelines.
File names must end in ".sabre.zip" or the zipped attachment will be removed by the e-mail
server (for example, docs.zip would need to be renamed to docs.sabre.zip).
If your correspondence is regarding a previously reported issue, please include the service
incident (SI) number in the subject line of the message.
Page 16
Chapter
1
Chapter 1: Introduction to Sabre Web Services
Sabre Web Services makes it possible for organizations to integrate their business processes and
applications with systems and data centers under the Sabre Holdings Inc. umbrella via SOAP/XMLbased Web services messaging.
Chapter one introduces Web services technology, and outlines the features and benefits related to
utilizing Sabre Web Services. Chapter one also discusses the standards and specifications that
Sabre Web Services are designed to meet, including the Sabre XML specification.
Web Services
Web services are programmatic interfaces for application-to-application communication exposed via
the Internet.
A client application calls a Web service by sending an XML message as a request, and the Web
service infrastructure returns an XML response to the client. Because all communication is
formatted in XML, a Web service is not tied to any particular operating system, programming
language, or platform.
XML
XML is the basis for Web services and Web services technologies that exchange data. XML is
used to define and describe the format of the data, its layout, and its logical structure through a
schema. Software programs are usually written to transform this XML-formatted data to formats
that other software applications and systems can understand, and then to transform the data
back to XML.
SOAP
SOAP stands for simple object access protocol, and is a mechanism for transporting data from
one network to another. In the Sabre Web Services world a SOAP-based message is
composed of the following parts:
Page 17
WSDL
WSDL stands for Web Services Definition Language and uses a common format to describe
and publish the formats, operations, and protocols of a Web service. WSDL elements
describe data using one or more XML schemas. These schemas are passed to the Web
service. The description of the data tells the receiver how to process the data, and the
binding to a protocol or transport instructs the sender how to send the data. Both parties
must have access to the same XML schema. WSDL is usually used with SOAP.
Page 18
Messages that are used to establish and manage connections to the Sabre Web Services
infrastructure are referred to as session management-based Sabre Web Services. These
services are used to request new Sabre Web Services sessions, validate existing sessions,
and close existing sessions, ending the allocated Sabre session behind the scenes. For
additional information please refer to the sections of this document titled, SOAP
Formats/Requirements, and Connection Management.
Page 19
Page 20
Message Structure
The messages for Sabre Web Services conform to the following specifications:
The structure of the messages is based on Internet standards such as HTTP, HTTPS, and the
MIME mail extensions. HTTPS is the communications protocol.
The SOAP with Attachments protocol is a MIME multipart message with the following MIME parts:
The payload container This is the application payload, and it is formatted as Sabre
XML.
The SOAP with Attachments protocol is used to format the messages for Java clients, and
the payload is sent as an attachment.
Instead of sending the payload as an attachment, however, it can instead be included inside
the SOAP wrapper. Java Axis clients include the payload inside the SOAP wrapper. If
WSDL and Microsoft .NET Framework are used to format messages, the payload is included
inside the SOAP wrapper.
For the format and sending sequence of the SOAP envelopes and payloads, please refer to
the section of this document titled, SOAP Formats/Requirements. For specific tag
requirements, please refer to the section of this document titled, SOAP Field Size Quick
Reference.
Page 21
HTTP/1.1 [RFC2616] This is used for the transport protocol. Load balancing for
the Sabre Web Services infrastructure closely adheres to this protocol; hence
HTTP messages headers that connect to Sabre Web Services must conform to
this.
SOAP, ebXML, and W3C XML standards These are used to define and describe the
SOAP messages.
SOAP 1.1 [SOAP] This is used for the ebXML message packaging.
OpenTravel and Sabre Web Services have adopted ebXML messaging infrastructure for the
packaging because ebXML specifies well-defined semantics for various messaging
exchange patterns in the area of messaging over the Internet and Intranet. The Organization
for the Advancement of Structured Information Standards (OASIS) drafts and maintains the
ebXML standard.
WSDL 1.1 Sabre XML schemas have been simplified to comply with WSDL version
1.1.
Sabre XML schema documents These are the schemas that validate the payloads in
all Sabre Web Services. The majority of them are based on OpenTravel message
specifications.
WSDL documents for Sabre XML The WSDL documents are based on
recommendations from the W3C, and conform to WS-I Basic Profile 1.0
Specification. When consuming Sabre Web Services with WSDL, they are
required to generate proxy code.
Page 22
The use of TPA_Extensions These are elements that are added to the
OpenTravel specifications
New elements
For information about working with WSDL, such as generating proxy classes, please refer to
the section of this document titled, Working with WSDL.
For more information related to managing Web Services connections and sessions, please
refer to the section of this document titled, Connection Management. For the format and
sending sequence of the SOAP envelopes and payloads, please refer to the section of this
document titled, SOAP Formats/Requirements. For specific tag requirements, please refer
to the section of this document titled, SOAP Field Size Quick Reference.
Page 23
Changes are made to a service that causes the request or response structure of the XML
to change, i.e. an enhancement.
Changes are made to a service that causes the underlying functionality of the service to
change, i.e. a bug fix.
Sabre Web Services simultaneously supports up to five versions of a Web service. The
services that are frequently upgraded have more versions available for consumption than
those services which are seldom upgraded. Older service versions beyond the five
supported versions are periodically removed from the system. The list of services being
removed from the system are available on the Developer Resource Center,
https://drc.sabre.com, via the Sabre Web Services Service Version Removal asset.
Customers are a provided with a minimum of 90 days advance notification prior to a
particular service version being removed.
When Web Services are upgraded, their corresponding WSDL and schema documents are
also versioned in the same manner. Please note that we resolve schema issues in the
applicable service version schema and notify clients of the change via the applicable release
notes where the change is being implemented. Clients should check the release notes,
which are available on the DRC, to ensure that they are aware of any changes/updates being
made.
Bug fixes and other corrections are incorporated into a new, upgraded version of a Web
service.
The new version becomes the baseline, and future versions are based on the content in the
baseline.
The first release of a Web service is assigned an initial version number. Whenever changes
are made to the service the first, second, or third numeral is incremented depending upon the
nature of the change.
If the change causes a major request or response change, i.e. a service rewrite, or an entire
platform upgrade, the first numeral, i.e. the major version level, is incremented, i.e. 2.0.0.
These types of changes are not deemed backward compatible with previous service
versions, i.e. service version 2.0.0 is not backward compatible with service version 1.0.0. In
these instances application developers will need to increment the major level digit,
incorporate the functionality contained in the new major version into their application, and
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 24
retest.
If the change causes a structural request or response change, i.e. an enhancement or a bug
fix resulting in a schema change, the second numeral, the minor version level, is
incremented, i.e. 2.1.0. These types of changes are not deemed backward compatible with
previous service versions, i.e. service version 2.1.0 is not backward compatible with service
version 2.0.0, or service version 2.0.1. In these instances application developers will need to
increment the minor level digit, add the new functionality contained in the new minor version
into their application, and retest.
If the change is to simply resolve a minor issue, i.e. a bug fix that doesnt require any sort of
schema change, the third numeral, the patch version level, is incremented, i.e. 2.0.1. These
types of changes do not require schema updates so they are deemed backward compatible
between service versions sharing the same minor patch level, i.e. service version 2.0.1 is
backward compatible with service version 2.0.0. In these instances application developers
simply need to increment the patch level digit in their application and retest.
The client calls a service version by specifying the desired version in the request payload at
run-time.
Guidelines for Upgrading Client Applications:
Type of Service Upgrade
Platform Upgrade, Major
Service Enhancement / ReWrite
(The major level portion of the
service version number is
incremented, i.e. 2.0.0)
Action
If clients want to take advantage of a
platform upgrade, or a major
enhancement/service re-write, they
must upgrade their application to
consume the upgraded, major level
version. Please note that these types of
changes are not deemed backward
compatible between major versions, i.e.
service version 2.0.0 is not backwards
compatible with service version 1.0.0.
If clients want to take advantage of a
minor enhancement, i.e. new request or
response elements/attributes, or a bug
fix that resulted in a schema change,
i.e. new request or response structures,
or where the data type associated with
an existing element or attribute is
changed, they must upgrade their
application to consume the upgraded,
minor level version. Please note that
these types of changes are not deemed
backward compatible between minor
versions, i.e. service version 2.1.0 is not
backwards compatible with service
Page 25
Action
version 2.0.0.
Security
Sabre Web Services has implemented multiple layers of security for client applications.
These layers include line security, authentication, authorization, and confidentiality.
Line Security
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 26
Line security is the layer that secures the data traveling on the line over the Internet
between Sabre data centers and external systems. Sabre Web Services support point-topoint synchronous transport HTTPS using SSL with 128-bit encryption.
Clients that consume Sabre Web Services must implement line security with a secure
sockets layer, and they must secure the payloads with HTTPS.
Authentication
Authentication is the layer that allows consuming applications access to Web Services.
The URL for consuming Sabre Web Services and security credentials provides
authentication. Security credentials are the wsse:Username, wsse:Password, Organization,
and Domain elements present in the SOAP envelope in the request message of the
SessionCreateRQ service. Application developers receive the values for these elements
when they are set up to use Sabre Web Services.
The Sabre Web Services infrastructure authenticates the requestor of the service or
consuming client using the security credentials in the request.
An example of the wsse:Security node that shows the security credentials is shown in
Figure 1.
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/12/utility">
<wsse:UsernameToken>
<wsse:Username>USERNAME</wsse:Username>
<wsse:Password>PASSWORD</wsse:Password>
<Organization>IPCC</Organization>
<Domain>DEFAULT</Domain>
</wsse:UsernameToken>
</wsse:Security>
Authorization
The authorization layer gives clients access to specific services or product packages.
When a client sends a request, the Sabre Web Services infrastructure authorizes access to
all services in the product packages to which an organization has subscribed.
Confidentiality
The confidentiality layer maintains the privacy of the data in a payload during its transmission.
Sabre Web Services use HTTPS with 128-bit SSL encryption.
Page 27
Network Connectivity
Access to Sabre Web Services for external clients is available through the Internet.
Consequently, resources used to develop and deploy production applications must
have Internet access.
Page 28
5. When the Sabre Web Services connection is no longer needed, the client closes
the connection by sending the SessionCloseRQ service request with the
conversation ID and security token of the connection it is closing.
When the business workflow is sent, a Sabre session is allocated. All request messages in a
particular session include the connection ID. (The connection ID consists of the conversation
ID and security token.) Only one conversation ID must exist per business workflow.
When a client connects to Sabre Web Services using security credentials that require a TA,
the infrastructure allocates a Sabre session at the same time. With this type of user ID, a
Sabre Web Services connection and a Sabre session are treated the same. When a Sabre
Web Services connection is in use, the Sabre host session is active; when the Sabre Web
Services connection ID is returned to a connection pool, the Sabre session is returned to the
session pool.
If activity has not occurred within the pre-determined time-out limit, the Sabre Web Services
connection is not guaranteed to be alive.
Errors
Several types of errors are possible.
Sabre Web Services errors These types of errors occur within the Sabre Web
Services infrastructure, and are caused either by clients or Sabre Web Services.
The infrastructure detects and generates these errors, and returns them as
SOAP faults, with or without ebXML headers.
Business application errors Business applications that are situated behind the
Sabre Web Services infrastructure generate errors which are caused by clients or
the Sabre system. They are returned to clients in ErrorRS format.
System errors generated by clients Clients cause these errors which are external to
Sabre Web Services. They occur in the development environment, and are returned to
the client.
When a response contains the <soap-env:fault> node, an HTTP status code of 500 is
returned. If no SOAP fault exists, HTTP Status Code 200 is returned.
Page 29
Chapter
2
Chapter 2: SOAP Formats/Requirements
Chapter two illustrates the sequence and format of the SOAP messages used to
successfully connect to and consume Sabre Web Services.
SOAP Envelopes
The ebXML-based MessageHeader inside the SOAP envelope contains routing information
for the message as well as other important information, such as the /ConversationId, the
/Service, and the /Action.
Payloads
The payload is the business or application content of the message. It corresponds to the
request for the service being called. The payload is based on approved Sabre XML
vocabularies for clients that consume Sabre Web Services.
Sabre XML messages support one payload per envelope. Depending upon how the client
consumes Sabre Web Services, the payload is either sent as an attachment or included
inside the envelope. For those software development tools that do not support attachments,
the payload can be included inside the envelope.
Page 30
For Java clients, the payload is a MIME part following the SOAP with Attachments
Specification. While it is preferable to send the message as an attachment, it is also
possible to format the payload inside the SOAP envelope when using Java.
For clients that consume Web services with WSDL, including clients that are developed with
Microsoft .NET Framework or Apache Axis, the messages must conform to the WSDL
standard by including the payload inside the SOAP envelope.
The Sabre XML schemas define the required formats for the content in the message payloads,
including the extended elements and attributes that are defined for use with the Sabre system and
other Sabre applications. (These are child elements of the TPA_Extensions nodes.)
Note: Each Web service has unique service-specific values for the SOAP envelopes and
payloads. For this information, please consult the description documents that correspond to
the Web services on the DRC. For the valid list of elements and attributes in a Web service,
consult the design documents. The schemas provide the formats and constraints for the data
elements themselves.
Read functionality. These types of messages find information and retrieve it for
display. Services with read functionality are for viewing data, such as fare displays,
vehicle rates and rules, air schedules, and availability.
Page 31
Message Structure
The messages for Sabre Web Services conform to the following specifications:
The structure of the messages is based on Internet standards such as HTTP, HTTPS, and the
MIME mail extensions. HTTPS is the communications protocol.
The SOAP with Attachments protocol is used to format the messages. The preferred
format has the payload as an attachment, as shown in Figure 2. HTTPS is the transport
protocol.
Figure 2. Structure of an ebXML Message with a Payload Attachment
Communication Protocol Envelope (HTTPS)
SOAP with Attachments MIME Envelope
MIME Part
SOAP-ENV: Envelope
SOAP-ENV: Header
eb: MessageHeader
eb: Action
eb: Etc.
other: Etc.
Header Container
SOAP-ENV: Body
eb: Manifest
eb: Etc.
other: Etc.
MIME Part
Payload
Payload container
(Sabre XML)
Page 32
The SOAP Messages with Attachments specification is a multipart message with two
MIME parts: the header container and payload container.
The SOAP message consists of the following elements:
SOAP body This is the container for the control data of the message
service handler and information about the payload parts of the message. If
the payload is sent as an attachment, the ebXML <eb:Manifest> element
references the attached payload in the SOAP body.
Header container
The header container has a SOAP envelope, which is an XML document.
Payload container
The payload container is the application payload. It is formatted as Sabre
XML. The content is either the business logic or data without business
logic.
Instead of sending the payload as an attachment, it can be included inside the SOAP
wrapper, replacing eb:Manifest inside the SOAP envelope. This is shown in Figure 3. If
WSDL is used to format the messages, the payload is included inside the SOAP wrapper.
Figure 3. Structure of an ebXML Message with the Payload Inside the SOAP Body
Communication Protocol Envelope (HTTPS)
SOAP with Attachments MIME Envelope
MIME Part
SOAP-ENV: Envelope
SOAP-ENV: Header
eb: MessageHeader
eb: Action
eb: Etc.
other: Etc.
SOAP-ENV: Body
Payload
(Sabre XML)
other: Etc.
Page 33
Page 34
Page 35
Includes the appropriate values for eb:From and eb:To (lines 009014)
Includes the required value for eb:CPAId (line 015). This is the same value as
<Organization>.
Includes the service specific values for eb:Service, eb:type (line 016), and
eb:Action (line 017)
(Payloads sent as attachments) Sets the reference to the payload attachment in the
xlink:href attribute of the eb:Reference element (line 036)
SessionCreateRQ Payload
The client creates the payload, either as an attachment or included in the SOAP body.
In the MIME Header, include the value for the content ID. This must match the value
of xlink:href in eb:Reference in the SOAP envelope.
Specifies the document root element. It is recommended that this value match
the value for content ID in the MIME Header and eb:Reference/xlink:href (line
036).
Passes the value for Source/PseudoCityCode (line 042). The is the same
value sent with eb:CPAId and Organization in the SOAP envelope.
Page 36
!ICESMS\/RESA!ICESMSLB\/RES.LB!4845652307057192441!339520!0</
wsse:BinarySecurityToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<eb:Manifest xmlns:eb=http://www.ebxml.org/namespaces/messageHeader
eb:version="2.0">
(029)
<eb:Reference eb:id=SessionCreateRS xlink:type="simple"
xlink:href="cid:SessionCreateRS"
(030)
<eb:Description xml:lang=en-US>Response Message</eb:Description>"/> (031)
</eb:Reference>
(032)
</eb:Manifest>
(033)
</SOAP-ENV:Body>
(034) </SOAP-ENV:Envelope>
(025)
(026)
(027)
(028)
Page 37
The payloads of the session request messages do not have an xmlns attribute
with the document root element, but this attribute is returned in the payload of
the responses (line 034).
Page 38
possible to reuse the connection when a connection pool is implemented. For complete
information about techniques for handling connectivity, please refer to the section of this
document titled, Connection Management.
Note: Remember that when using a specific Sabre Web Services connection and session, the
following values must match the values that were used to open the connection with
SessionCreateRQ: eb:ConversationId, eb:CPAId (eb:Organization), and in the payload,
PseudoCityCode.
The same value returned via wsse:BinarySecurityToken in the SessionCreateRS must be sent in
all messages using the connection.
Page 39
Each service provider specifies how to use the Version and PseudoCityCode
attributes.
Page 40
Page 41
The value for eb:ConversationId which is extracted from the connection being used
The same value for eb:CPAId that was used to open the connection (line 015)
Optionally, the generated value for eb:Timeout. This value must be less than the
system default value on the service. Currently, only the TPF connector has
implemented this for TPF Connector-based Sabre Web Services and
orchestrated Web services. If the value is greater than the default value on the
service, the TPF Connector ignores it and uses the default. (line 022)
Page 42
021)
For more information about the service time-outs, see eb:Timeout.
Appropriate values for eb:From and <eb:To> (lines 009014), eb:CPAId (line 015),
eb:Service, eb:type (line 016), and eb:Action (line 017)
Request Payloads
The client includes the following:
In the MIMEHeader, the value for the content ID. This must match the value of
xlink:href in eb:Reference (line 032)
The document root element. It is recommended that this value match the
value for content ID in the MIME Header and eb:Reference /xlink:href.
(line 039)
The value for the xmlns attribute of the document root element. Application
developers need to refer to the developer notes for the Web service being
used. (line 039)
A value for the Version attribute that is applicable to the version of the Web
service your client is consuming. Obtain the applicable versions and correct
format in the service documentation on the Developer Resource Center. (line
039)
The value for the Source/PseudoCityCode. This value must match the values
sent with eb:CPAId and Organization in the SOAP envelope of the
SessionCreateRQ message that opened the connection. (line 041)
The values for the following three must be the same:
Remember that for all messages sent in a given connection, the value for PseudoCityCode
and eb:CPAId must match the value in the SessionCreateRQ message that was used to
create the Web Services connection being used.
Page 43
For the valid version attribute values, MDR subsets, and document root elements, please
consult the design documents, service descriptions, and developer notes.
Page 44
Page 45
(082)
<Distance Ind="M"/>
(083)
<CurrencyCode>USD</CurrencyCode>
(084)
<MinRate Amount="117.99" CurrencyCode="USD" DecimalPlaces="2"/>
(085)
<MaxRate Amount="139.00" CurrencyCode="USD" DecimalPlaces="2"/>
(086)
<DirectConnect>
(087)
<DCSellParticipant Ind="true"/>
(088)
<DCAvailParticipant Ind="true"/>
(089)
<UnAvail Ind="false"/>
(090)
<RequestFail Ind="false"/>
(091)
</DirectConnect>
(092)
<LocationDescription Code="G">
(093)
<Text>ADDISON TX</Text>
(094)
</LocationDescription>
(095)
</TPA_Extensions>
(096)
<Position Latitude="32.958500" Longitude="-96.827000"/>
(097)
<Address>
(098)
<TPA_Extensions>
(099)
<AddressLine>4960 ARAPAHO ROAD</AddressLine>
(100)
<AddressLine>ADDISON TX 75001</AddressLine>
(101)
</TPA_Extensions>
(102)
</Address>
(103)
<ContactNumbers>
(104)
<ContactNumber PhoneNumber="1-972-490-1212"/>
(105)
<TPA_Extensions>
(106)
<FaxNumber PhoneNumber="1-972-233-4283"/>
(107)
</TPA_Extensions>
(108)
</ContactNumbers>
(109)
</BasicPropertyInfo>
(110)
</RoomStay>
(111) </RoomStays>
(112) <TPA_Extensions>
(113)
<HostCommand>ARS01S093HOTDFW/22NOV-25NOV2/MC</HostCommand>
(114) </TPA_Extensions>
(115)</OTA_HotelAvailRS>
Page 46
Payload
For TPF Connector-based Sabre Web Services, the Version attribute of the
document root element returns the service version requested (line 034).
Page 47
SessionCloseRQ Message
The model for the SessionCloseRQ message, which is required to close Sabre Web Services
connections, is shown in examples 9 and 10.
!ICESMS\/RESA!ICESMSLB\/RES.LB!4845652307057192441!339520!0</
wsse:BinarySecurityToken>
(027)
</wsse:Security>
(028) </SOAP-ENV:Header>
(029)
<SOAP-ENV:Body>
(030)
<eb:Manifest SOAP-ENV:mustUnderstand="1" eb:version="2.0">
(031)
<eb:Reference xmlns:xlink="http://www.w3.org/1999/xlink"
(032)
xlink:href="cid:SessionCloseRQ" xlink:type="simple"/>
(033)
</eb:Manifest>
(034)
</SOAP-ENV:Body>
(035) </SOAP-ENV:Envelope>
Page 48
format the messages as shown. For detailed common requirements, see Appendix A.
Your client does the following for each connection:
Includes the appropriate values for <eb:From> and eb:To (lines 009014)
Includes the required value for eb:CPAId (line 015). This is the same value as
<Organization> in the SessionCreateRQ used to open the connection.
Includes the service specific values for eb:Service, eb:type (line 016), and
<eb:Action> (line 017)
(Payloads sent as attachments) Sets the reference to the payload attachment in the
xlink:href attribute of the <eb:Reference element (line 032)
SessionCloseRQ Payload
The client creates the payload, either as an attachment or included in the SOAP body.
The client does the following:
In the MIME Header, includes the value for the content ID. This must match the value
of xlink:href in eb:Reference in the SOAP envelope.
Specifies the document root element. It is recommended that this value match
the value for content ID in the MIME Header and eb:Reference / xlink:href (line
Page 49
036).
Passes the value for Source/PseudoCityCode (line 042). The is the same value
sent with eb:CPAId and Organization in the SOAP envelope.
Note:
In all request messages using a given connection, the values for following
must be the same:
In payloads, the IPCC in POS/Source/PseudoCityCode
In SOAP envelopes, eb:CPAId
In SOAP envelope of SessionCreateRQ, the Organization element
Page 50
SessionCloseRS Message
The SessionCloseRQ service terminates both the Sabre Web Services connection and
its associated Sabre Web Services session, and renders the security token invalid.
Page 51
The payloads of the session request messages do not have an xmlns attribute
with the document root element, but this attribute is returned in the payload of
the responses.
Only the root element and attributes are returned when a connection is closed
properly. (line 030)
If a Sabre session or TA was allocated, the content in the Sabre work area/AAA
is discarded and the Sabre session is returned to the session pool.
Page 52
Page 53
(024) EncodingType="wsse:Base64Binary">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/
!ICESMS\/RESC!ICESMSLB\/RES.LB!4954987477210575357!252506!0</
wsse:BinarySecurityToken>
(025) </wsse:Security>
(026)
</SOAP-ENV:Header>
(027)
<SOAP-ENV:Body>
(028) <OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2002/08"
Version="2003A.TsabreXML1.0.1">
(029)
<POS>
(030)
<Source PseudoCityCode="yourIPCC"/>
(031)
</POS>
(032)
<AvailRequestSegments>
(033)
<AvailRequestSegment>
(034)
<StayDateRange Start="2003-10-29" End="2003-10-30"/>
(035)
<RoomStayCandidates>
(036)
<RoomStayCandidate>
(037)
<GuestCounts>
(038)
<GuestCount Count="2"/>
(039)
</GuestCounts>
(040)
</RoomStayCandidate>
(041)
</RoomStayCandidates>
(042)
<HotelSearchCriteria>
(043)
<Criterion>
(044)
<HotelRef HotelCode="62532"/>
(045)
</Criterion>
(046)
</HotelSearchCriteria>
(047)
</AvailRequestSegment>
(048)
</AvailRequestSegments>
(049) </OTA_HotelAvailRQ>
(050)
</SOAP-ENV:Body>
(051)</SOAP-ENV:Envelope>
Page 54
Chapter
3
Chapter 3: Sabre XML
Chapter three describes the design of the WSDL and schema documents for Sabre XML. It also
explains the numbering scheme and naming patterns of the WSDL and schema documents, as well
as how they are versioned.
The Sabre XML specifications are the WSDL and schema documents tailored specifically for use
with Sabre Web Services.
The Sabre XML specifications consist of the following:
A unique WSDL document This is used by WSDL software tools to build proxy
classes. The tools reference the WSDL documents at run-time.
A set of Sabre XML request and response XSD schema documents They validate
the XML payloads. If using WSDL tools, the WSDL document references them at runtime.
An intermediate schema for every Web service This imports the request and
response schemas.
A set of common schemas shared by all TPF Connector-based Sabre Web Services.
Every version of every Web service has its own set of Sabre XML documents.
The payload content is assigned a version number that is incremented whenever the content is
enhanced or corrections are made to the code.
The WSDL and schema documents are available by searching DRC for the name of the Web
service.
Page 55
classes for the client code. The proxy classes provide objects that let application developers
access and update the underlying structure of the message, which is ebXML.
The WSDL documents are based on recommendations from the W3C. They conform to WSI Basic Profile 1.0 Specification.
All TPF Connector-based Sabre Web Services can be consumed with Microsoft .NET
Framework and Apache Axis. The Sabre XML WSDL document format does not currently
support the SOAP with Attachments model, so the SOAP envelope must include the
message payload.
All data formats in the Sabre XML WSDL documents are defined as either character strings
or integers. Most of the date formats are string types. The reason for this is various
frameworks often define formats for the same data types differently, and these formats are
incompatible among the different frameworks. By simplifying the data types, a single WSDL
document for Sabre XML can accommodate multiple frameworks for WSDL.
Page 56
(002)
(003)
(004)
(005)
(006)
(007)
(008)
(009)
(010)
(011)
(012)
(013)
(014)
(015)
(016)
(017)
(018)
(019)
(020)
(021)
(022)
(023)
(024)
(025)
(026)
(027)
(028)
(029)
(030)
(031)
(032)
(033)
(034)
(035)
(036)
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://
webservices.sabre.com/sabreXML/2003/07" xmlns:tns="https://
webservices.sabre.com/websvc" xmlns:eb="http://www.ebxml.org/
namespaces/messageHeader" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
targetNamespace="https://webservices.sabre.com/websvc">
<types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://webservices.sabre.com/sabreXML/
2003/07" schemaLocation="OTA_AirAvailLLS1.10.1RQRS.xsd"/>
<xsd:import namespace="http://www.ebxml.org/namespaces/
messageHeader" schemaLocation="msg-header-2_0.xsd"/>
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="xmldsig-core-schema.xsd"/>
<xsd:import namespace="http://www.w3.org/1999/xlink"
schemaLocation="xlink.xsd"/>
<xsd:import namespace="http://schemas.xmlsoap.org/soap/envelope/
" schemaLocation="envelope.xsd"/>
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd"/>
<xsd:import namespace="http://schemas.xmlsoap.org/ws/2002/12/
secext" schemaLocation="wsse.xsd"/>
</xsd:schema>
</types>
<message name="OTA_AirAvailInput">
<part name="header" element="eb:MessageHeader"/>
<part name="header2" element="wsse:Security"/>
<part name="body" element="xsd1:OTA_AirAvailRQ"/>
</message>
<message name="OTA_AirAvailOutput">
<part name="header" element="eb:MessageHeader"/>
<part name="header2" element="wsse:Security"/>
<part name="body" element="xsd1:OTA_AirAvailRS"/>
</message>
<portType name="OTA_AirAvailPortType">
<operation name="OTA_AirAvailRQ">
<input message="tns:OTA_AirAvailInput"/>
<output message="tns:OTA_AirAvailOutput"/>
</operation>
</portType>
<binding name="OTA_AirAvailSoapBinding"
type="tns:OTA_AirAvailPortType">
<soap:binding style="document" transport="http://
schemas.xmlsoap.org/soap/http"/>
<operation name="OTA_AirAvailRQ">
<soap:operation soapAction="OTA"/>
<input>
<soap:header message="tns:OTA_AirAvailInput" part="header"
use="literal"/>
<soap:header message="tns:OTA_AirAvailInput" part="header2" use="literal"/>
<soap:body parts="body" use="literal"/>
Page 57
(037)
(038)
(039)
(040)
(041)
(042)
(043)
(044)
(045)
(046)
(047)
(048)
(049)
(050)
</input>
<output>
<soap:header message="tns:OTA_AirAvailOutput" part="header" use="literal"/>
<soap:header message="tns:OTA_AirAvailOutput" part="header2" use="literal"/>
<soap:body parts="body" use="literal"/>
</output>
</operation>
</binding>
<service name="OTA_AirAvailService">
<port name="OTA_AirAvailPortType"
binding="tns:OTA_AirAvailSoapBinding">
<soap:address location="https://webservices.sabre.com/websvc"/>
</port>
</service>
</definitions>
import Elements
The majority of the Sabre Web Services conform to the OpenTravel specifications.
Because of the complexity and nesting of the OpenTravel schemas, Sabre Web Services
import the schema files inside the WSDL document, which is not a common practice. The
following example shows one of the import statements in a Sabre XML WSDL document.
<import namespace="http://webservices.sabre.com/sabreXML/2003/07"
schemaLocation="OTA_AirAvailLLS1.10.1RQRS.xsd"/>
Of particular interest is the OTA_AirAvailLLS1.10.1RQRS.xsd intermediate schema pointed
to by the schemaLocation attribute in the first import instruction.
This schema serves as a reference to two separate request and response schemas:
The same namespace is defined within the request and response schemas. Within a
WSDL document, repeatable namespace imports cannot be defined, and therefore,
duplicate namespace imports are not permitted.
The intermediate schema enables tools such as wsdl.exe to handle the complexity of
WSDL documents so that the documents can be consumed by these tools.
Each WSDL document for Sabre Web Services imports an intermediate schema specific to
its corresponding Web service. The intermediate schema has references to namespace
attributes and references to the request and response schemas specific to the Web service
being called. The request and response schemas each define the payloads for the
OTA_AirAvailLLSRQ service operation.
The WSDL file imports a set of common schemas that provide instructions for building
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 58
proxies and references to other schemas. This single set of common schemas is the same
for all TPF Connector-based Sabre Web Services.
Most of the common schemas are either imported into the WSDL documents for Sabre XML
or referenced by other common schemas.
message Elements
The <message> element defines the data elements of an operation. Each message can be
composed of one or more parts, with each part being equivalent to parameters of a function
in a software program. An example from a Sabre Web Services WSDL document is shown
below.
(009)
(010)
(011)
(012)
(013)
(014)
(015)
(016)
(017)
(018)
<message name="OTA_AirAvailInput">
<part name="header" element="eb:MessageHeader"/>
<part name="header2" element="wsse:Security"/>
<part name="body" element="xsd1:OTA_AirAvailRQ"/>
</message>
<message name="OTA_AirAvailOutput">
<part name="header" element="eb:MessageHeader"/>
<part name="header2" element="wsse:Security"/>
<part name="body" element="xsd1:OTA_AirAvailRS"/>
</message>
Sabre Web Services define two message elements in the WSDL documents, one for the
request (lines 009013) and one for the response (lines 014018). Each message has
multiple part elements that create the SOAP message header and body. While there are two
major parts, there are actually three part parameters defined for each message because the
header section is split into a MessageHeader and Security part. The body part creates the
payload.
portType Element
The <portType> element defines the Web service, the operations that the Web service
performs, and the messages that are involved. The portType element is the equivalent to a
class in object-oriented programming. The operation is similar to a function call in structured
programming. The operation and name combination calls an operation or function, and the
function returns data. The request message is like the function and the response is like the
data that the function returns. An example from a Sabre Web Services WSDL document is
shown below.
(019)
(021)
(022)
(024)
Page 59
In general, WSDL documents can define several types of operations, such as one-way,
notification, or request-response. The WSDL documents for Sabre Web Services define
the request-response type of operation. This is because a client sends a request and
receives a response when consuming the Web service.
WSDL documents for Sabre Web Services define two messages per operation. Lines 21
22 represent the input or request message, and the output or response message.
binding Elements
The <binding> element defines the data format and protocol for each port.
The <operation> element defines each operation that the port exposes. For each operation,
the corresponding SOAP action is defined, and the method of encoding for the input and
output must be specified. An example from a Sabre Web Services WSDL document is
shown below.
(025)
(026)
(027)
(028)
(029)
(030)
(031)
(032)
(033)
(034)
(035)
(036)
(037)
(038)
(039)
(040)
The binding element has two attributesname and type. The name attribute defines the
name of the binding and the type attribute points to the port for the binding (line 25). In the
example, the port is OTA_AirAvailPortType.
The soap:binding element has two attributesstyle and transport (line 26). In general, the
style attribute can be rpc or document. Sabre Web Services use the document style. The
transport attribute defines the SOAP protocol to use. In the case of Sabre Web Services,
this is HTTP because the transport protocol is SOAP/HTTP.
The <operation> element (line 27) defines each operation that the port exposes. For each
operation, the corresponding SOAP action has to be defined, and the method of encoding
for the input and output must be specified.
Page 60
The OTA_AirAvailRQ operation has an input message called OTA_AirAvailInput (line 30), and an
output message, OTA_AirAvailOutput (line 35).
The message elements define parts of each message and their associated data types. The
parts are soap:header and soap:body (lines 030032 and 035037).
In terms of object-oriented programming, OTA_AirAvailPortType is a class, and
OTA_AirAvailRQ is a function with the parameters OTA_AirAvailInput and
OTA_AirAvailOutput.
service Element
In a WSDL document, the <service> element, subelements, and attributes define the Web
services, the port, and the endpoint. An example from one of the Sabre Web Services
WSDL documents is shown below.
(041)
(042)
(043)
(044)
(045)
<service name="OTA_AirAvailService">
<port name="OTA_AirAvailPortType" binding="tns:OTA_AirAvailSoapBinding">
<soap:address location="https://webservices.sabre.com/websvc"/>
</port>
</service>
The <service> element in a Sabre XML WSDL document defines a single Web service. The name
attribute (line 041) is the name of the Web service, OTA_AirAvailService.
The specific Web service is defined with the port element and name attribute (line 042). The
combination of soap:address and location identify the endpoint into Sabre Web Services. All
WSDL documents for Sabre Web Services include the production endpoint or URL (line 043).
Page 61
XMLSchema.dtd The data type definitions, of definitions of data types, used in the
XML schema documents
New elements
Elements have been added to some requests to make the data conform to the
proprietary data format in the Sabre system. These modifications are minimal.
Sabre Web Services use published XML schemas that specify the syntax of the
messages. Document type definitions are not used. These Sabre XML schemas include
the following information about the elements and attributes in the XML requests: data type,
length, valid values, sending sequence, and minimum and maximum occurrences.
Note: The majority of the schemas for the Sabre Web Services are based on OpenTravel
specifications. Consequently, they contain many elements and attributes that Sabre Web
Services do not use.
The XML design documentation for each of the Sabre Web Services lists the elements
and attributes that are valid for the particular XML request and response payloads. While
designing client applications, it is important to consult these design XML documents for
the valid lists of data.
Page 62
Each of the Sabre Web Services normally corresponds to one unique pair of request
and response Sabre XML schemas. Many of the Sabre XML schemas are based on a
pair of OpenTravel specifications for a request and response message. For example,
the pair of schemas that corresponds to the OTA_AirAvailLLSRQ service are
OTA_AirAvailLLS1.10.1RQ.xsd and OTA_AirAvailLLS1.10.1RS.xsd.
Some exceptions to the request and response pair exist. Several of the TPF Connectorbased Sabre Web Services with hotel content share an additional common XSD schema.
The enhanced versions of the WSDL and schema documents for the OTA_HotelResLLSRQ,
HotelPropertyDescriptionLLSRQ, HotelRateDescriptionLLSRQ, and OTA_HotelAvailLLSRQ
services all reference the HotelCommonTypes.xsd schema. The HotelCommonTypes.xsd
schema combines the data types for guarantee information that these hotel-based Web
Services share to ensure commonality across all of them.
Application developers can use these schemas to validate their XML payloads for non-WSDL
consumption. If application developers are consuming Web Services with WSDL, they can
use them to review the structure of the data in the payloads.
Data types
The data types are defined in the schemas so that they can be validated. Most of
the data types are text. The schemas also define constraints on the values that
are sent in the payloads, such as character type (alphabetic, numeric,
alphanumeric, or other) and length.
Page 63
Page 64
8. Use the service description, design XML, schema documents, and developer
notes for complete information about the Web Services, including comparable
Sabre system formats for the elements and attributes. The developer notes on
the DRC describe the required service-specific values for the SOAP envelopes.
Sample request and response payloads are also available.
Page 65
Page 66
expressing Web services interfaces that XML software understands and uses. WSDL was
designed to use SOAP as the message transport.
The WSDL documents for Sabre Web Services are simplified Sabre XML schemas. These
WSDL documents support the document-oriented style of SOAP binding.
The following tools are recommended for consuming Sabre Web Services with WSDL:
Page 67
framework, such as C++, C#, or Visual Basic. Application developers can use a combination of
languages and operating platforms to generate proxy code from WSDLs using .NET tools.
The SDK has the programs and files needed to develop clients, including the wsdl.exe and
intermediate disassembler programs, and .NET Framework includes all the system tools and files
needed for run-time operation.
For more information about WSDL and .NET, visit the following Microsoft URL:
http://msdn.microsoft.com/netframework.
Page 68
Page 69
exception of the initial version, the WSDL and schema document versions match the version
numbers of their corresponding Web services. The request and response design XML
documentation also follows the same model.
The three-part version number is applied to the file names of the documents as well as
the Web services themselves.
The format of the version number is 1.0.1, where:
1.0.1 = is the version number, and the second digit is incremented
Page 70
File Naming
Convention
WSDL document
IgnoreTransactionLLSRQ.ws IgnoreTransactionLLS2.
dl
0.0RQ.wsdl
Common schema
IgnoreTransactionLLSRQRS. IgnoreTransactionLLS2.
xsd
0.0RQRS.xsd
Request schema
Response schema
Examples of File
Names for
Version 2.0.0
IgnoreTransactionLLSRQ.xsd IgnoreTransactionLLS2.
0.0RQ.xsd
IgnoreTransactionLLSRS.xsd IgnoreTransactionLLS2.
0.0RS.xsd
Intermediate Schemas
Page 71
Page 72
Chapter
4
Chapter 4: Connection Management
Chapter four discusses connections and connection strategies for Sabre Web Services.
Page 73
A connection is not a client side shopping cart and it does not maintain state in the AAA
(referred to as the Sabre work area/AAA) of the Sabre host system.
Page 74
Request 1
The SOAP message for the SessionCreateRQ service is created on the client side.
Create the SOAP envelope in the required format for Sabre Web Services.
Include the required values for the SessionCreateRQ Envelope. Generate the
value for eb:ConversationId, and include the values for eb:CPAId and your
security credentials in wsse:Security node. Ensure the value for eb:Action for this
request is SessionCreateRQ.
Create the payload, either as an attachment or incorporated into the SOAP body.
Response 1
The Sabre Web Services gateway receives the request, authenticates it, and
creates a connection. The infrastructure then authorizes access to the business
application or system within Sabre Holdings based on the security credentials.
Upon authorization, it allocates a Sabre session if required. (A Sabre session is
another name for a TA; Sabre session is used in this documentation. Sabre
sessions are discussed later in this chapter.)
The gateway returns a unique, encrypted security token to the client side in
wsse:Security@wsse:BinarySecurityToken in the SOAP envelope of the
SessionCreateRS response. It also returns the same conversation ID and a
reference to the message ID that was in the request.
The connection ID consists of the returned security token and the conversation
ID. Its return means the connection to the Sabre Web Services infrastructure is
alive and a Sabre session is allocated.
The client extracts and stores the eb:ConversationId and the entire
wsse:security@wsse:BinarySecurityToken node for inclusion in
subsequent workflows and requests that use this connection.
When sending Web service requests for travel content, the connection ID is
needed for all transactions with the Sabre Web Services infrastructure that use a
specific connection, whether the client maintains state or not.
Page 75
Closing Connections
When the client application needs to close a Sabre Web Services connection, it must include
the connection ID of the connection that it wants to close in the SessionCloseRQ message. A
summary of the process is presented as follows.
Request 1
The SOAP message for the SessionCloseRQ service is created on the client side.
Create the SOAP envelope in the required format for Sabre Web Services.
Include the required values for the SessionCloseRQ SOAP envelope. It is
especially important to include the values for eb:ConversationId, eb:CPAId, and
the security token of the connection to be closed. These values were sent in the
SessionCreateRQ request and returned in SessionCreateRS response. Ensure
the value for eb:Action for this request is SessionCloseRQ.
Create the payload, either as an attachment or incorporated into the SOAP body.
Send the SessionCloseRQ request message to the endpoint for the Sabre Web
Services environment where the connection lives. (For complete information
about the URLs and environments, please refer to the section of this document
titled, Environments for Using Sabre Web Services.)
Response 1
The Sabre Web Services gateway receives the request. The infrastructure closes
the connection and returns the previously allocated Sabre session to the session
pool. The Sabre work area/AAA is cleared, and the security token is rendered
invalid. The MessageHeader of SessionCloseRS message is returned to the
client.
Page 76
Page 77
the content that was retrieved during the session remains in the work area until it times out.
If the client or network is brought online before the time-out period expires, the content from
the Sabre session remains. Moreover, if the new client instance re-uses a connection ID that
was active before the system outage, the content for the Sabre session remains in the Sabre
work area/AAA because the connection was not closed explicitly. By not specifically clearing
the work area, the client risks mingling content from the re-used, recovered connection ID
and associated Sabre session with your new workflow.
Release of Sabre Sessions
When a client or connection manager successfully closes a connection using the
SessionCloseRQ service, the Sabre Web Services connection is terminated and the
security token is rendered invalid. The content in the Sabre work area/AAA is discarded,
and the Sabre session (or TA) is released and returned to the session pool.
If the client lets unneeded connections time out instead of closing them properly with
SessionCloseRQ, it is possible that all connections and sessions in the session pool will be
in use and unavailable until they time out.
Letting sessions time out on their own puts client applications in a situation where they will
not have any connections available for log in, causing them to have to wait until the
connections time out before they can log in.
If all Sabre sessions in the session pool are allocated, the client will receive an error
message when it tries to log in and open another session.
Sunday System Housekeeping
The Sabre system maintenance program known as NORMOAA runs every Sunday
morning between 00:15 and 00:20 Central time. NORMOAA clears all the AAAs in Sabre
and that logs out any open SWS sessions when AgSS is synchronized with ICE.
There is a window just before NORMOAA runs during which clients with active sessions
receive a warning message in response to any command. The warning would look like this
if the client sent a request via SabreCommandLLSRQ:
<SabreCommandLLSRS
xmlns="http://webservices.sabre.com/sabreXML/2003/07"
Version="2003A.TsabreXML1.6.1">
<Response><![CDATA[SYSTEM HOUSKPING REQUIRES AAA TO BE
CLEARED
RE-ENTER LAST INPUT THEN COMPLETE OR
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 78
<TravelItineraryRS xmlns="http://webservices.sabre.com/sabreXML/2003/07"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TPA_Extensions>
<HostCommand>ARS01S093JX PNR</HostCommand>
</TPA_Extensions>
<Errors>
<Error ErrorCode="SessionFailure-103" Severity="High"
ErrorMessage="Parameter not supported">
<ErrorInfo>
<Message>SYSTEM HOUSKPING REQUIRES AAA
TO BE CLEARED
RE-ENTER LAST INPUT THEN COMPLETE OR
END TRANSACTIONS IN ALL AREAS
ENTER SOALL WITHIN 04 MINUTES AND THEN
SIGN BACK IN TO CONTINUE WORKING</Message>
</ErrorInfo>
</Error>
</Errors>
</TravelItineraryRS>
The WITHIN 04 MINUTES string will vary based on how many minutes are left until
NORMOAA runs. If a client receives this response when performing stateless transactions
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 79
(availability, shopping, etc.) they should simply close and reopen the session. If they are in
a stateful transaction, i.e. building a PNR the client should immediately end transaction,
close and reopen the session, and retrieve the PNR to continue. If NORMOAA runs before
the PNR is closed all changes since the last end transaction will be discarded. Data in the
work area before a PNR has been created will be lost entirely.
To refresh all active sessions in use at 00:15 Central time on Sunday the client should
send SessionCloseRQ followed by SessionCreateRQ. The client does not need to receive
the warning message before refreshing the session. Sabre recommends that clients who
maintain a pool of open sessions close and reopen them after 00:15 Central time on
Sundays as part of routine maintenance.
If pooled sessions are not refreshed in this way the active binary security tokens will be
expired by NORMOAA and the client will receive a USG_INVALID_SECURITY_TOKEN
error. By anticipating NORMOAA and performing a routine refresh client applications will
avoid this inconvenience.
Page 80
Each Sabre Web Services connection has a time-out value associated with it. The default
time- out value is 15 minutes. The default is set when security credentials are created for
client use. (For more information, contact your Sabre account representative.)
It is very important for consuming clients and connection managers to
know the time-out values associated with their security credentials used for
Sabre Web Services.
Note:
To prevent an established Sabre Web Services connection and associated Sabre session
from timing out, a client can send any Web service. Sending the OTA_PingRQ service with
a valid conversation ID and security token is recommended for this purpose. The
OTA_PingRQ service has no effect on content in the Sabre work area/AAA.
It is not advisable to let connections time out. It is the responsibility of the client to either
close Sabre Web Services connections explicitly with SessionCloseRQ before the time-out
values are reached or to keep their connections alive while they are needed. If activity has
not occurred within the pre-determined time-out limit, Sabre Web Services connections are
not guaranteed to be alive.
Page 81
If the client application sends a value greater than the default time-out, it is ignored. If the
client application includes eb:Timeout in the SOAP envelope for any of the non-TPF
Connector-based Sabre Web Services, providers other than SWS Orchestration and TPF
Connector may ignore it.
Basic connections This solution creates a conversation for one time use.
Connection managers and connection pools This solution stores and
retrieves open connections maintained in a pool.
Basic Connections
Basic connections are the simplest approach for connecting to Sabre Web Services. A basic
connection is similar to a conversation. The client application starts a conversation (open a
connection with the SessionCreateRQ service), exchanges requests for content and receives
the responses (send and receive Sabre Web Services messages in the form of TPF
Connector-based or open systems-based Sabre Web Services), and then ends the
conversation (close the connection with the SessionCloseRQ service). The client to
connection ratio is 1:1, in other words, one client equals one connection. This is illustrated in
Figure 7.
When a client application needs a connection to the Sabre Web Services gateway to send a
business workflow, it opens a new connection. With this solution, the client retains and
resends the connection ID in all Sabre Web Services requests in a business workflow, but
the client does not store the connection ID for use beyond the current connection. The client
can temporarily store the connection ID in memory or elsewhere until it is done using the
connection. When the client opens a new connection, it stores the new security token,
overwriting the previous one. The conversation ID can be reused in a new connection.
Page 82
The client can actually send multiple workflows before closing the connection. The point of
the basic connection is for a single client to open one connection, to send one or more
workflows using the same connection ID, and to close the connection when the workflows are
completed. This simultaneously terminates the Sabre Web Services session allocated with
the connection.
An example of the flow using a single, basic connection sending multiple workflows follows.
Request 1
The client creates the SOAP message for the SessionCreateRQ service in the
required format with the required values, and sends it to the endpoint for
consuming Sabre Web Services over HTTPS.
Response 1
The Sabre Web Services infrastructure authenticates and authorizes the client,
and creates the connection. Upon authorization, a Sabre Web Services session
is also allocated from the subscribers session pool, as required.
Request 2
The client sends the first message in a business workflow, requesting travel
content.
In the SOAP envelope, the client extracts the values for eb:ConversationId and
wsse:BinarySecurityToken that were returned in the SessionCreateRS response
message, and includes them in the request.
The client formats the payload as described in the section of this document titled,
Request Messages for Travel Content.
The client requests a specific Web service version in the Version attribute, and
includes other service-specific elements and values. The client includes the IPCC
for the PseudoCityCode attribute, which is the same value as eb:CPAId and
Organization in wsse:Security in the SessionCreateRQ SOAP envelope.
Note:
For the service-specific values and valid data elements in the payload of
the Web service please consult the design, schema, and developer notes
on the DRC.
Response 2
The service providers business application within Sabre Holdings retrieves the
requested content and returns it in the response payload. The security token and
conversation ID in the request are returned.
Page 83
The client parses the content it wants from the response payload along with the
security token and conversation ID, which it stores for use in all messages in the
workflow.
Request 3
The client sends the remaining requests for travel content in the workflow,
formatting the SOAP messages as in Request 2, including the extracted
security token and conversation ID.
Response 3
The business application retrieves the requested content and returns it in the
response payload and SOAP message as described previously in Response
2.
When the client has parsed all content it wants from the payload and is
done with the workflow, it ends the transaction.
Request 4
The client sends the EndTransactionLLSRQ service to save the transaction and PNR
that are temporarily in the Sabre work area/AAA of the Sabre system.
Response 4
Sabre Web Services return a record locator for the PNR to the client.
Request 5
Response 5
The service providers business application obtains the requested content and
returns it in the response payloads.
Request 6
The client sends the EndTransactionLLSRQ service to save the transaction and PNR
in the Sabre system.
Response 6
Request 7
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 84
Response 7
The Sabre Web Services infrastructure ends the session and closes the
connection simultaneously. It also renders the security token invalid. The
SessionCloseRS response message is returned to the client.
Connection Pools
Implementing a pooling design for caching and managing connections is recommended.
Connection pooling is a widely-used practice for managing connections effectively.
A connection manager opens and maintains multiple concurrent connections based on
projected volumes and business model. These connections are stored in a connection pool,
a repository of multiple open connections which are kept alive and ready when clients need
to send travel workflows. The connection pool has multiple open connections to Sabre Web
Services. With a connection pool, applications can have multiple clients. A many-to-one
ratio of connections to clients exists; generally more open connections than clients.
Designing and implementing a connection manager is more complicated than using the
basic connection approach.
The connection pool is one component of a connection manager. With connection pools, a
connection manager creates the connections it needs by sending multiple SessionCreateRQ
service requests and storing the connection IDs. Again, the connection ID includes the
conversation ID and security token. With a pool, the connection manager also needs to store
a client ID as a reference to the client instance using the connection, a time stamp, and
connection status. The connection manager persists the connection IDs so that clients can
reuse them.
When needed, a client obtains an available connection from the pool to send Sabre Web
Services service requests that make up a business workflow. As connections are needed,
a client retrieves an available connection from the pool, and passes the connection ID in all
messages in the workflow it sends to Sabre Web Services. When the client is done, the
connection ID is returned to the pool for reuse. The connection manager refreshes the
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 85
In particular, the SOAP envelopes of all requests include a unique clientgenerated value for eb:ConversationId, the assigned value for eb:CPAId, and the
security credentials for consuming Sabre Web Services in the wsse:Security
node as follows: wsse:UsernameToken, wsse:Password, Organization, and
Domain.
Response 1
The Sabre Web Services infrastructure authenticates and authorizes access based on
the security credentials in the request
For user IDs that require Sabre host access, allocates one Sabre session per
connection
For every request, returns a unique security token in the BinarySecurityToken element
in the SOAP envelope of each SessionCreateRS response messages
Note: Remember that when a client uses a specific Sabre Web Services connection
and Sabre session, the following values must match the values that were used to open
the connection with SessionCreateRQ:
The connection manager stores the connection IDs in the connection pool. The
connection IDs are in the pool, waiting for a client to request one. The connection
manager extracts and stores the conversation ID and security token from the
Page 86
SessionCreateRS response. It also stores the time stamp and creates a client ID.
The client requests a connection ID from the connection pool. When the client needs
to send a travel workflow, the client requests an open connection from the connection
pool.
The connection manager clears the Sabre work area/AAA before handing over the
connection ID to the client. The connection manager sends the
IgnoreTransactionLLSRQ service, which discards any content that remains from a
previous Sabre session that used the connection ID. Remember that the connection ID
consists of the security token and conversation ID used to create the connection.
While it is using the connection, the client stores the connection ID for use in all
requests in the workflow.
The client exchanges Web services messages that represent a travel workflow. The
client includes connection ID information in all request messages in this workflow.
While using the connection, the client sends the request messages one at a time,
waiting for a response before sending the next request.
When finished with a TPF Connector-based Sabre Web Services workflow, the client
stores the transactions in the Sabre system by sending the appropriate Web service, in
this case, EndTransactionLLSRQ.
The client has ended the workflow and returns the connection ID to the pool for reuse
by another client.
A new client requests a connection from the pool. In concurrence with the first client
using a connection ID, a second client can also request an open connection from the
pool, send a workflow, and return the connection ID when finished with the workflow in
similar fashion. As many clients as your business model needs and your capacity
planning will allow can independently retrieve open connections from the pool and send
workflows.
The connection manager clears the work area before it hands a connection ID to a
client. When the connection manager retrieves an existing connection from the pool, it
retrieves the connection ID and clears the Sabre work area/AAA of any content that
lingers from the previous Sabre session by sending the appropriate TPF Connectorbased service, in this case IgnoreTransactionLLSRQ. Depending on the business
model, application developers can clear the Sabre work area/AAA when a workflow is
completed or just before beginning a new one.
The connection manager refreshes the open connections in the pool to prevent timeouts. The connection manager keeps the connections open or alive by time stamping
them with the OTA_PingRQ service.
The connection manager closes excessive connections. When traffic volume is low
and fewer connections are needed, the connection manager closes some connections
to maintain the minimum threshold it has defined.
Page 87
The connection manager obtains the connection IDs of the connections to close by
using the conversation ID and security token used to open the connections.
The connection manager stores the connection IDs and other connection information in the
connection pool in a separate database or file. The use of a connection pool creates
persistent connections and allows for reuse of connections as needed. When a workflow is
complete, the client returns the connection ID to the connection pool, requesting a
connection again when the need to send a workflow arises. This can be any free and
available connection in the pool.
When calling TPF Connector-based Sabre Web Services, which again, obtain their content
from the Sabre host system, the client or connection manager has the responsibility of
clearing the data in the Sabre work area/AAA that lingers from a previous session.
When to Use Connection Pooling
When there is a need for multiple clients, and the quantity of connections needed exceeds
the quantity of clients available, this form of management is recommended. For a steady
volume of 1 to 2 transactions per second, this technique is suitable. If the clients business
process needs multithreaded processes, it will need multiple, open connections. That is the
only way to send simultaneous service calls.
Advantages and Disadvantages
Advantages of a connection pool are the ability to have multiple clients and make
simultaneous Sabre Web Services calls, while reducing the overhead of excessive requests
to open and close connections. This saves time and resources by reusing connections
instead of creating them every time the client application needs to retrieve travel content.
The disadvantages are that additional hardware is required for the connection manager, and
the architecture is not as simple or inexpensive to implement and maintain as the basic
connection solution.
Connection Managers
A connection manager, the most complex solution, is also the most reliable architecture. The
connection manager includes the following:
A connection pool
Page 88
Load balancing
As shown in Figure 9, multiple clients are routed through a load balancer to the connection
manager to request connections. The connection manager is housed on two boxes,
eliminating a point of failure. The connection information is also stored separately so that the
connection IDs can be recovered in the event of failure.
The implementation of a connection manager helps ensure that an adequate quantity of
available connections is available when needed, without over-allocating your resources, that
is, the quantity of Sabre Web Services connections and Sabre sessions in your session
pool.
When to Use This
If the client applications environment is high volume, implementation of a connection
manager with a level of redundancy needed is essential. If the client application cannot
afford to have down time, a solution with full redundancy is recommended. Multiple
simultaneous connections are also needed for multi-threaded processes.
Advantages and Disadvantages
This solution has the highest rate of reliability, automated failover, and fast session recovery.
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 89
If the connection manager is fully redundant, it has no single point of failure, and connections
are used efficiently, saving time and resources while eliminating overhead. This architecture
is also highly scalable.
To effectively consume Sabre Web Services, efficient management of connections is
essential. Efficient connection management has the following benefits:
Minimizes errors
In addition to being complex to design and implement, other disadvantages are greater
cost and the need for additional hardware and systems administration.
Page 90
The connection manager is a proxy between the client and the network
instead of a separate repository of connection information.
The job of the connection manager is to monitor activity and refresh sessions
efficiently, therefore, transactions must pass through the connection manager.
The connection manager stores and tracks the connection information for
each of the live connections.
The connection information can be stored in a centralized database, memory,
or another form of storage during application run-time. Basic connection
information to store includes the security token, conversation ID, time stamp,
connection status, that is, whether the connection is free or in use, and client
ID, in other words, which client is using it.
The connection manager caches and stores the connection information,
and updates the information with a new time stamp and the status.
All clients must be able to obtain the connections repeatedly with a
given Web services connection.
The connection manager keeps connections alive, ensuring that the minimal
quantity of Sabre Web Services connections is available for use when
needed. The connection manager must know the time-out value assigned to
the security credentials used to open the connections. To prevent the
connections from timing out, the connection manager refreshes the
connections by sending the OTA_PingRQ message.
Destroy connections
The connection manager terminates connections when the threshold for low
volume traffic is reached, the connection is no longer usable, or when
connections need to be cleaned up. The connection manager closes the
connections by invoking the SessionCloseRQ service. Remember that this Web
service also terminates the allocated Sabre session, and returns the Sabre
session to the session pool. All of data in the Sabre work area/AAA is discarded.
Clean up connections
The connection manager cleans up all live connections before the application
is closed, shut down, or restarted. This makes the connections available to
other instances of the client that use the same security credentials.
The connection manager uses the SessionCloseRQ service to terminate the
Page 91
This field
Is used as follows
Security Token
Time Stamp
Conversation ID
Page 92
This field
Is used as follows
Connection Status
Client ID
When the box with the connection pool is started and the pool is opened, connection
manager sends the SessionCreateRQ messages the number of times equal to the quantity of
connections it is configured to initialize.
Once the connections have been created, the connection manager is ready to begin service
requests from the clients in need of connections. All Sabre Web Services requests must
obtain a valid connection from the pool. This can be implemented in the connection manager
as follows:
1. A client instance requests an available or free connection ID from the connection pool.
2. The connection manager sets the connection ID status flag to in use.
3. The connection manager sends the IgnoreTransactionLLSRQ service to clear the Sabre
work area/AAA of content lingering from previous use of the connection ID.
4. The connection manager provides the connection ID to the client.
5. The client sends messages representing the travel workflow using the connection ID.
6. When the client is done and has stored content it wants, the client returns the connection
ID to the pool.
7. The connection manager sets the connection ID status flag to available or free.
8. The connection manager updates the time stamp of the connection ID.
During some configurable interval, the connection manager inspects the status indicator of all
connections in the pool. All free connections with a time stamp older than the time-out value
are either revalidated or closed. This decision is made on the basis of the current connection
pool size.
The recommended keep-alive value should be less than the connection time-out value. The
connection keep alive is used only to maintain a minimum number of connections in the pool.
If the application has low traffic or use, it is advisable to close the connections until the
minimum threshold limit in the pool is reached. However, if the application is running with
less than the minimum threshold, keeping connections alive using the OTA_PingRQ service
is recommended.
As part of its clean-up activities, the connection manager must terminate all active
connections in the pool. This can be a fixed, automated process or a manual maintenance
activity. Even when the client is restarted or stopped, it is necessary to invoke the
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 93
SessionCloseRQ service. This makes all of the connections in the pool available to the client
when the client starts up.
All system-related errors and time-outs result in the closing of the connection and the
creation of a new connection. This minimizes the number of orphan connections in the client.
Page 94
Implementation Scenarios
Some sample scenarios are presented in this topic.
Scenario 1
When the machine with the connection pool is started and the connection pool is
opened, the connection manager sends the SessionCreateRQ messages the number
of times equal to the quantity of connections it is configured to initialize. Let us say
this quantity is 20. The connection manager stores the connection IDs of the open
connections that are in the pool, monitoring use of the connections. When the
threshold of connections in use is reached (say the threshold is 16), the connection
manager opens 10 more connections. Sixteen connections is close to the threshold of
20, and to avoid running out of open connections, the connection manager is
configured to open 10 more. When 30 connections are open, and only 11 are in use,
the connection manager is configured to close 10 connections. 30 are open, 11 in
use, and 19 are unused. Because 11 are fewer than the threshold of 16 open
connections, there is no need to have 19 unused connections, therefore 10 are
closed.
Scenario 2
This scenario has a client whose IPCC has been allocated a pool of 100 sessions. A
15 minute time-out value has been assigned to the connections and sessions.
At any point, the connection manager wants to maintain 10 connections in the
pool. During times when traffic is very low, the client requires a maximum of 20
sessions. This is the low threshold value for the connection pool. During times of
high traffic, the client can increase the pool size on demand as traffic increases.
Because the time-out is 15 minutes, the client refreshes or clears connections in the
pool every 13 minutes. If there are less than 20 unused connections, the client
refreshes the connections by sending the OTA_PingRQ Service. If the pool has more
than 20 unused connections, the client calls the SessionCloseRQ service until the
threshold of 20 unused connections is reached.
When the client shuts down, it closes all connections in the pool.
The pool size has a maximum value of less than 100 connections. This minimizes the
errors the client receives about unavailable resources from the Sabre Web Services
infrastructure.
Sabre session creation and removal must be minimized by the reuse of connections. Careful
study of the scenarios depicted on the connection manager sequence diagram in Figure 12
shows that several Sabre Web Services were invoked before the connection was returned to
the pool. The connection manager will guarantee that the connection remains active
between Sabre session retrieval and removal calls.
Page 95
Page 96
Chapter
5
Chapter 5: Business and Application Logic
Chapter five contains topics about travel workflows and the implementation of business and
application logic in the client.
Page 97
the client that decides whether to use content retrieved from a previous service or not. The
design of the client and the workflow, and the sequencing of the services let the client
retrieve content from previous services.
Take the TravelItineraryReadLLSRQ service as an example. The command upon which this
service is based is a stateless Sabre system command. This Web service simply retrieves a
passenger name record, i.e a PNR, and places it in the work area.
An example of a stateful function in the Sabre system is the request to search for and display
air availability. The Sabre system remembers the flights that it displays via this Sabre format.
The TPF Connector-based Web service that requests air availability, OTA_AirAvailLLSRQ, is
stateless, but a client can use other Web services to obtain further information about selected
flights placed in the work area by OTA_AirAvailLLSRQ. The client references the flights it
wants in another Web service to obtain fare rules, search for lower fares, etc. It is the client
that is using the services in a stateful way.
The Sabre system tracks and maintains the content or state of the Sabre work area/AAA
when proper techniques are implemented.
The proper techniques for maintaining state in a Sabre session are as follows.
Obtain the conversation ID and security token associated with the Sabre session.
If this is a new connection, extract the wsse:Security node with the
BinarySecurityToken from the SessionCreateRS response message. In both
cases, include the conversation ID and security token in all requests using the
session. Sending the same conversation ID and security token with every
request message in the session maintains state in the Sabre work area/AAA.
When a client reuses a connection and its associated Sabre session, it must
ensure the work area is cleared before sending a new workflow. A connection
manger can also do this.
When finished with a workflow, the client stores the content by invoking the
EndTransactionLLSRQ service.
When Web services representing stateful functions are called, the content from all requests
in a specific Sabre session is stored in the Sabre work area/AAA. The Sabre work area/AAA
can be thought of as the session state buffer. The content in this buffer can be displayed,
created, updated, and removed in a single Sabre session. If clients have shopping cart
functionality, the shopping cart reflects the content in the Sabre work area/AAA. The client
can parse content from each of the responses, and again, before it ends the transaction.
The sequencing of the messages, referred to as orchestration, is especially important for
workflows that use stateful functions. This is because stateful functions can create and
maintain content in the Sabre work area/AAA. Sending a message in the wrong sequence
can overwrite the content in this work area. Application developers must be aware of the
content that is being created and stored there at all times. Ending a Sabre session properly
with EndTransactionLLSRQ saves the content in the Sabre system and records it in the PNR.
When client applications start their workflow by retrieving and reusing a connection from the
pool, the content from the previously-used session associated with the connection remains in
the Sabre work area/AAA. Therefore, application developers must design their client to clear
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 98
the Sabre work area/AAA before sending the messages that represent a new workflow.
Sabre Web Services functions are either stateless or stateful. The effect of each service on
state in a specific Sabre session is dependent on the service. Some services only require a
valid security token. Other services depend on the content placed in the Sabre work
area/AAA by yet other services so they can perform their functions.
Sabre Web Services functions that are stateless can perform their functions independently of
other Web services by sending a valid security token. The responses of stateless functions
do not have references to content in other responses, for example, when the
OTA_AirAvailLLSRQ service request is sent, the Sabre system processes it and returns a
response. The OTA_AirAvailLLSRQ service does not depend on any content placed in the
Sabre work area/AAA by other Sabre Web Services, but it leaves content in the work area
that can affect subsequent commands, for example, 1*.
The service descriptions of Web services note when the services depend on content
retrieved from a previous service.
Stateful functions depend on content that is placed in the Sabre work area/AAA from
responses to other Web services. To complete a transaction, other service requests may
need to be sent after a particular service.
The modification of a PNR is presented as an example:
1. Assuming a PNR exists, the client first reads or displays it in the Sabre work
area/AAA. The TravelItineraryReadLLSRQ service request accomplishes this
by loading the content from the PNR into the active Sabre work area/AAA.
2. Next, the client sends the TravelItineraryModifyInfoLLSRQ service request with
updated content. The TravelItineraryModifyInfoLLSRQ service is a stateful
function, and depends on the TravelItineraryReadLLSRQ service to load the
content into the work area. When the content is loaded, the
TravelItineraryModifyInfoLLSRQ service can modify the content. It parses or
extracts any data it needs from the response.
3. Finally, the client sends the EndTransactionLLSRQ service to complete the
PNR, and to receive and end the PNR record. This stores the updated record in
the Sabre system.
Page 99
Page 100
Reuse connections to send workflows using more than one client. Each client
reuses the connections and sessions. This strategy uses connection pools and a
connection manager.
Clearing the Sabre work area/AAA after the completion of each workflow
Clearing the Sabre work area/AAA at the beginning of the workflow, retaining the
content in the Sabre work area/AAA, and sending another workflow using the same
Sabre session
Note that clearing the work area after completing each workflow is not as reliable a way to
clear the content as clearing the work area at the beginning of client workflows.
Regardless of how application developers implement workflows, when the client application
is finished with each workflow, it can save or ignore the transaction and return the connection
to the connection pool for reuse. For complete information about Sabre Web Services
connection strategies and connection pools, please refer to the section of this document
titled, "Connection Management."
Page 101
the EndTransactionLLSRQ service or can clear the Sabre work area/AAA with the
IgnoreTransactionLLSRQ service.
An example of a simple travel workflow that uses one Web service is the use of the
OTA_AirFlifoLLSRQ service. In this workflow, the IgnoreTransactionLLSRQ service is
consumed, clearing the work area. Then the OTA_AirFlifoRQ/RS messages are exchanged
to retrieve information about a specific flight and display the results. In this example, the
client does not store any transactions in the Sabre system when it consumes this service, but
it parses content it wants, which is the latest flight information, and provides it to an end
consumer or other process.
multiple threads.
Single threads
To minimize the quantity of Sabre sessions used in the session pool in a single process,
clients must pass the same conversation ID and security token for the connection they are
using in all messages in the thread.
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 102
Multithreaded processes
For multithreaded workflows or processes, use a separate Sabre Web Services connection,
each with its own conversation ID and security token, in each thread. If a client is generating
multiple, simultaneous requests, either by multiple end consumers or other means, use one
connection for each of the requesters.
Minimizing Scans
Clients are billed for scan charges whenever their client makes requests against the production
Sabre system.
This applies to the following URL:
https://webservices.sabre.com/websvc
When clients consume Sabre Web Services, three types of scan charges may be applied:
basic, fare, and search. Basic type scans cost less than fare or search type scans.
Application developers may want to take into account the type of scans that are associated
with each Web service. This may help with client design and user interaction by limiting the
more expensive searches and caching responses.
As an example, application developers may want to impose constraints on the types of
searches end consumers can do and the quantity of searches they can perform. Letting end
consumers search for all availability and fares without specific dates is more expensive than
searches based on specific dates.
Developers may also want to cache responses whenever it makes sense, but they must also
be aware of limitations on the data retrieved from the Sabre system, such as the length of
time for which data is valid.
Sabre Web Services does not limit the flexibility when it comes to creating meaningful
workflows for organizations and customers. However, there are efficient ways to build client
applications and workflows to minimize scans, which helps to minimize costs.
Reusing connections to send workflows reduces scans because client applications do not
send the SessionCreateRQ and SessionCloseRQ services between each workflow. Sending
the IgnoreTransactionLLSRQ service before beginning a new workflow may possibly incur
fewer transactions than clearing the work area after every workflow. Reducing scans and
designing workflows for efficiency not only reduces costs, but it also improves total client
response times.
Page 103
Chapter
6
Chapter 6: Sabre Web Services Environments
Chapter six describes the systems and environments that are available for developing clients,
testing, and consuming Sabre Web Services.
We provide several environments for consuming Sabre Web Services for the following
general purposes: client development, customer acceptance testing, and production. The
following table and topics fully describe these environments.
Caution
When a client or solution books travel arrangements utilizing a URL that resolves to
the back-end production system, the transactions are recorded in the live, production
Sabre system, and real-time inventory is decremented. This applies to the following
URL:
https://webservices.sabre.com/websvc
Please be sure to cancel any bookings created for test purposes. If these bookings
are not canceled, you and possibly your customers will be billed by suppliers or other
vendors for all associated fees.
Production
https://swssts.cert. sabre.com
Customer
acceptance
testing
https://sws-crt.cert.
sabre.com
No
No
Yes
Yes
No
No
No
Yes
No
No
No
Yes
Development
https://
webservices.sabre
.com/websvc
Page 104
No
No
Yes
No
No
Yes
No
No
Yes
Page 105
Chapter
7
Chapter 7: Common Error Responses/Corrective
Actions
In some situations Sabre Web Services (SWS) may respond with an error. SWS error are
returned via the /soap-env:Fault structure which contains two key elements /faultcode and
/StackTrace. ../faultcode provides a coarse-grained error categorization, and /StackTrace
provides additional details. This pattern focuses on utilizing the /StackTrace element to properly
diagnose and respond to SWS error responses.
The following table contains a list of the most common error messages that a SWS customer is
likely to encounter. Please note that this is not a comprehensive list of SWS errors. However, the
errors omitted from this list are internal, system-related errors that generally cannot be generated
or corrected through client action.
Error String Included in
/StackTrace
SC_SERVICE_UNAVAILABLE
Cause
Corrective Action
Internal
USG_AUTHENTICATION_FAIL
ED
USG_AUTHENTICATION_NOT_
Page 106
ALLOWED
Token
2.
USG_AUTHORIZATION_FAILE
D
1.
2.
USG_CONNECTOR_IS_BUSY
1.
2.
USG_CONVERSATION_ID_RE
QUIRED
eb:ConversationId element
is missing or null in SOAP
header
1.
2.
USG_COULD_NOT_COMPLET
E_REQUEST
Internal
1.
2.
USG_IIOP_OBJECT_NOT_EXIS
T
Internal
1.
USG_IIOP_TRANSIENT_EXCE
PTION
Internal
USG_INVALID_ACTION
USG_INVALID_EBXML
USG_INVALID_SECURITY_TO
KEN
USG_INVALID_SESSION
USG _IS_BUSY
1.
2.
USG_NO_RESPONSE_FROM_
JMSRECEIVER_IN_TIME
Internal
1.
2.
USG_PASSWORD_CHANGE_R
EQUIRED
Password change is
required
1.
2.
USG_PASSWORD_NOTFOUN
D
<wsse:Password> node is
missing or null
1.
for SessionCreateRQ
2.
USG_RESOURCE_UNAVAILAB
LE
1.
2.
USG_SECURITY_ICE_ERROR
Internal
1.
2.
USG_SERVICE_IS_BUSY
1.
2.
USG_SERVICE_PROVIDER_E
RROR
Internal
1.
2.
Page 110
Cause
Corrective Action
errors.INVALID_VERSION
Returned if the
payload sends an
invalid version for the
Web service
errors.MISSING_VERSION
Returned if a version
is not present
Page 111
Appendix
A
Appendix A: SOAP Field Size Quick Reference
All service providers support the fields shown in the following table:
For service-specific SOAP envelope values, please consult the documentation related to each
Web service.
Maximum
Field Size
Definition
eb:ConversationId
255
eb:CPAId
20
eb:MessageId
255
eb:RefToMessageId
255
eb:PartyId
255
eb:PartyId eb:type=
255
eb:Service
128
eb:Service eb:type=
255
eb:Timestamp
30
eb:TimeToLive
25
Page 112
delivered.
This is not supported.
It is mutually exclusive with
eb:Timeout.
eb:Timeout
48
wsse:Username
Specifies a username
20
wsse:Password
30
wsse:NewPassword
30
Organization
20
Domain
20
wsse:BinarySecurityToken
200
Page 113
Appendix
B
Appendix B: Identifying Documents for Sabre
Web Services
Appendix B describes the naming pattern for the URLs that point to the WSDL documents of
TPF Connector-based Sabre Web Services, and how to display WSDL and schemas on a
URL using the naming pattern.
Each of the Sabre Web Services has its own set of WSDL, schema, and design documents.
Moreover, each version of a Web service has its own set of WSDL, schema, and design
documents. A service description document is also provided that gives an overview of the
Web service, service version, and other service-specific values for the SOAP messages.
All documents and tools, such as the Java test client and release notes, are available on
the Sabre Web Services DRC. To obtain the documents, you need a username and
password for the DRC.
After logging in, you search for the Web service and select the version you want. You can
view the documents in a browser or download them. To obtain the URL for the WSDL and
schema documents, display them in a browser.
The WSDL and schema documents are also available by directly accessing them via a URL
instead of logging in to the DRC. To access them directly, outside the DRC, you must
become familiar with the URL and file naming patterns of the documents.
Page 114
URL Pattern:
Example: http://webservices.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RQ.wsdl
In this example:
http://webservices.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RQ.wsdl
http://webservices.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RQ.xsd
http://webservices.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RQRS.xsd
http://webservices.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RS.xsd
Page 115
http://wsdl-crt.cert.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RQ.wsdl
http://wsdl-crt.cert.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RQ.xsd
http://wsdl-crt.cert.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RQRS.xsd
http://wsdl-crt.cert.sabre.com/wsdl/tpfc/OTA_AirPriceLLS2.0.0RS.xsd
Page 116
http://webservices.sabre.com/wsdl/tpfc/OTA_AirAvailLLS2.0.0RQ.xsd
10. Display the XML request schema associated with the URL in the preceding step.
11. Display the schema for the header and SOAP wrapper again by entering the following URL
or by clicking the Back button on the browser:
http://webservices.sabre.com/wsdl/tpfc/OTA_AirAvailLLS2.0.0RQRS.xsd
12. In the OTA_AirAvail2.0.0RQRS.xsd schema, look for the line shown below: <include
schemaLocation="OTA_AirAvailLLS2.0.0RS.xsd"/>
13. Copy OTA_AirAvailLLSRS.xsd from this line. Replace OTA_AirAvailLLSRQRS.xsd with
OTA_AirAvailLLSRS.xsd in the URL. It should look like the following example:
http://webservices.sabre.com/wsdl/tpfc/OTA_AirAvailLLS2.0.0RS.xsd
14. Display the XML response schema associated with the URL in the preceding step.
Page 117
Appendix
C
Appendix C: Sample Travel Workflows
Appendix C describes several, common travel workflows. The XML-based equivalents to
these workflows are available on the DRC as part of the Sabre Web Services - Sample
Workflows asset.
Page 118
The EnhancedAirBookRQ service is used to book air itineraries, and it can also be used to
price the air itineraries. To book an air itinerary clients simply need to specify the flight
numbers, the airline codes, the dates/times, the classes of service, as well as the markets
associated with the segments. All of this information is returned in the shopping service
responses. To price the air itinerary clients simply need to specify the number of passengers,
along with the pertinent passenger types.
Once this step is complete the client application simply needs to receive and end the record.
PassengerDetailsRQ can be used to receive and end the record.
Workflow summary:
1. Shop (BargainFinderMaxRQ, OTA_AirLowFareSearchLLSRQ)
2. Book (PassengerDetailsRQ, EnhancedAirBookRQ)
3. Finalize the record (PassengerDetailsRQ)
Complete details on each these services, as well as XML-based workflows are available on
the DRC as part of the Sabre Web Services - Sample Workflows asset.
Page 119
When booking a vehicle the passenger-related information must be added into the PNR prior
to selling the vehicle segment. Client applications must add names prior to attempting to book
the vehicle segment. If this information is not present in the PNR, the client application will
receive an error response when attempting to book the vehicle segment. To add passengerrelated information into the PNR client applications can leverage the PassengerDetailsRQ
service. The PassengerDetailsRQ service allows client applications to add agency address
information, customer numbers, email addresses, passenger names, passenger types, phone
numbers, received from information, remarks, retention segments, SSRs, and ticket time limitrelated information. The service also allows client applications to specify to queue place the
record to a particular queue, or to simply end and retrieve the record.
The OTA_VehResLLSRQ service is used to book a vehicle reservation. To book a vehicle
reservation, clients simply need to specify the rental city code, the reservation dates/times, the
vehicle type, as well the number of cars to be reserved that were gathered from the
OTA_VehAvailRateLLSRQ response.
Once this step is complete the client application simply needs to receive and end the record.
PassengerDetailsRQ can be used to receive and end the record.
Workflow summary:
1. Shop (OTA_VehAvailRateLLSRQ, VehRateRulesLLSRQ, OTA_VehLocDetailLLSRQ)
2. Book (PassengerDetailsRQ, OTA_VehResLLSRQ)
3. Finalize the record (PassengerDetailsRQ)
Complete details on each these services, as well as XML-based workflows are available on
the DRC as part of the Sabre Web Services - Sample Workflows asset.
Page 120
to keep track of the hotel chain code, the hotel property number, the stay dates, the number of
guests, and the hotel rate code.
During the booking path the client application is taking the hotel that the end user selected
during the shopping path, and combining it with several other pieces of passenger-related
information in order to create a passenger name record (PNR).
When booking a hotel the passenger-related information must be added into the PNR prior to
selling the hotel segment. Client applications must add names, as well as agency addressrelated information prior to attempting to book hotel segments. If this information is not
present in the PNR, the client application will receive an error response when attempting to
book the hotel segment. To add passenger-related information into the PNR client
applications can leverage the PassengerDetailsRQ service. The PassengerDetailsRQ service
allows client applications to add agency address information, customer numbers, email
addresses, passenger names, passenger types, phone numbers, received from information,
remarks, retention segments, SSRs, and ticket time limit-related information. The service also
allows client applications to specify to queue place the record to a particular queue, or to
simply end and retrieve the record.
The OTA_HotelResLLSRQ service is used to book a hotel reservation. To book a hotel,
clients simply need to specify the hotel chain code, the hotel property number, the stay dates,
the number of guests, and the hotel rate code.
Once this step is complete the client application simply needs to receive and end the record.
PassengerDetailsRQ can be used to receive and end the record.
Workflow summary:
1. Shop (OTA_HotelAvailLLSRQ, HotelPropertyDescriptionLLSRQ,
HotelRateDescriptionLLSRQ)
2. Book (PassengerDetailsRQ, OTA_HotelResLLSRQ)
3. Finalize the record (PassengerDetailsRQ)
Complete details on each these services, as well as XML-based workflows are available on
the DRC as part of the Sabre Web Services - Sample Workflows asset.
Page 121
Glossary
Glossary
AAA
An abbreviation for Agent Assembly Area. See Sabre work area/AAA.
artifact
As it relates to Web services, an artifact is anything that assists in the discovery and use
of a service. Some examples of artifacts for Sabre Web Services include the Sabre XML
WSDL and schema documents, and action codes. Each of the artifacts exists as a
separate entity, and artifacts are not shared among Web services.
Compare metadata.
basic connection
Basic connection is the simplest approach for handling connecting to Sabre Web
Services. It is similar to a conversation. You open a connection with the
SessionCreateRQ Service, next you exchange requests for travel content and receive
the responses using TPF Connector-based or open systems-based Sabre Web
Services, then you close the connection with the SessionCloseRQ Service. The client to
connection ratio is one-to-oneyou have one client and one connection.
binary security token
This document uses the term security token See security token.
Page 122
connection
A connection is an open channel to the Sabre Web Services infrastructure. After a client
or other process is authenticated and authorized, an open connection to Sabre Web
Services is successfully created, and at the same time, a Sabre Web Services session is
allocated.
A connection is not a client side shopping cart and it does not maintain state in the Sabre
work area/AAA of the Sabre host system.
The distinction between the terms connection and session is semantic. A client
requests a connection to the Sabre Web Services infrastructure, and upon successful
connection, a Sabre Web Services session is created simultaneously with a business
application or data center within Sabre Holdings. A connection is on the client side, and a
session is on the Sabre side. The connection and session are synchronized. Compare
Sabre session and Sabre Web Services session.
connection ID
A connection ID consists of the security token and conversation ID returned to the
requester in the SessionCreateRS response SOAP envelope. Its return means the
connection to the Sabre Web Services infrastructure is alive and a Sabre Web Services
session is allocated. The connection ID is required for all transactions with the Sabre
Web Services infrastructure that are using the connection.
connection manager
The practice of managing Sabre Web Services connections to ensure that connections
are available without over-allocating resources. The client is responsible for
implementing a connection manager.
The connection manager is an implementation of a strategy for handling multiple,
concurrent connections. It has several components, such as a connection pool, and
manages many tasks. Some of the tasks include opening and maintaining connections,
persisting the connection IDs, and refreshing the connections. A connection manager has
thresholds defined for high and low volume traffic and tries to maintain the connections
needed to accommodate the fluctuations in traffic volumes. It also provides failover and
recovery.
connection pool
A connection pool is a repository of multiple open connections whose connections are
maintained and available for clients who need to use them to request travel content and
send travel workflows. From the perspective of Sabre Web Services, the connections in
the pool are open channels to the Sabre Web Services infrastructure. With a connection
pool, you have more open connections than clients. The connection pool is one
component of a connection manager. See also connection manager.
constraint
Specifies the data type of an element or attribute, such as a string or integer, and
whether the values for an element or attribute are restricted and required to be present.
Page 123
conversation
A term of the W3C and ebXML. It is the exchange of messages among trading partners. A
conversation is the same thing as a basic Sabre Web Services connection. See basic
connection.
ebXML
Electronic Business Using Extensible Markup Language. ebXML is an enabling
technology sponsored by UN/CEFACT and OASIS, and the OpenTravel specifications
are based on OASIS and UN/CEFACT.
extension
Any addition, such as an element or attribute, to the OpenTravel specifications.
Extensions let organizations use proprietary content that is not present in the
OpenTravel specifications so that they can exchange content with their trading
partners.
Many Sabre XML schemas incorporate extensions, enabling Sabre Web Services to use
proprietary content in the Sabre system and other Sabre applications.
See also Sabre XML.
GDS
global distribution system. The Sabre system is a GDS.
See PSS and Sabre global distribution system (Sabre GDS).
IPCC
Internet Pseudo City Code
metadata
All data or information about a Web service. Metadata for Sabre Web Services includes,
but is not limited to, service implementation date and version, name of the service, and
previously required orchestration.
Compare artifact.
open systems-based Sabre Web Services
Sabre Web Services that obtain their content from a variety of open systems within Sabre
Holdings via direct connections to those systems. The open systems services are
sometimes referred to as direct services.
OpenTravel Alliance
The OpenTravel Alliance provides standards for the travel industry. OpenTravel
specifications provide a common reference point that eliminates duplication of
common data elements. It separates data and reduces it to the data element level,
making it possible for two parties to
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 124
communicate individual data elements. The parties decide whether to use specific data
elements and how many times. Suppliers use this standard and the TCP/IP
infrastructure of the Internet to communicate with numerous other organizations.
Passenger Name Record
See PNR.
PCC
Pseudo City Code
PNR
Passenger Name Record. The record stored in the Sabre system that contains
information related to a passengers trip. It is identified with a unique record locator.
PSS
Passenger Service System
Sabre global distribution system (Sabre GDS)
This document uses the term Sabre system. See Sabre system.
Sabre session
A Sabre session is a specific type of session. It is associated with a LNIATA in
native Sabre systems (also referred to as a PSS). The user IDs of Sabre system
subscribers require and use LNIATAs or Terminal Addresses (TAs).
A Sabre session is a session that is established with the Sabre host system when a
Sabre Web Services connection is opened with a user ID that requires use of the
Sabre system. A Sabre session, also known as a TA, is allocated from the users
session pool and becomes active. The connection and session are synchronized, and
therefore, both the connection and Sabre session remain active until either a time-out
occurs or the connection is closed explicitly.
Sabre system
The Sabre global distribution system, or Sabre host system. This is the system that
stores travel inventory and itineraries, and is the source of travel-related content for TPF
Connector-based Sabre Web Services as well as some other open systems and
applications.
Sabre Web Services
All Web services provided by Sabre Holdings. Under the umbrella of Sabre Web Services
are TPF Connector-based Web services, open systems-based Sabre Web Services, and
session management-based Web services.
Page 125
See also open systems Sabre Web Services, session management Sabre Web
Services, and TPF Connector-based Sabre Web Services.
Sabre Web Services infrastructure
The combined components which provide connections, security, logging, and route
incoming requests to the appropriate service providers business application, and route
the responses to the requester upon receipt from the service provider. One component
of the infrastructure, the Sabre Web Services gateway, provides a single point of
access using a standard communication path, SOAP, and promotes a standard
interface for access to services using XML.
External access to Sabre Web Services is through the Sabre Web Services infrastructure.
Sabre Web Services session
A session that is allocated when a client makes a connection to the Sabre Web
Services infrastructure. The session is synchronized with the connection, which is on
the client side. The type of session that is allocated depends on the security
credentials used to open the connection. Users of TPF Connector-based Web
services are allocated a Sabre session when they connect to Sabre Web Services,
while users of open systems may be allocated another type of session.
See also Sabre session and connection.
Sabre work area/AAA
Refers to the buffer in the Sabre system where content is retained while a Sabre host
session is active. Other terms for the Sabre work area include Agent Assembly Area
and AAA. This document uses the term Sabre work area/AAA.
The Sabre work area/AAA provides shopping cart functionality on the client side.
When TPF Connector-based Sabre Web Services are called, the content from requests
in a specific Sabre session is temporarily stored in this work area. The client application
can use the content in the Sabre work area/AAA in a stateful or stateless way. Some
TPF Connector-based Sabre Web Services rely on content placed in the work area by
previous service calls in the same Sabre session, while other services do not have these
dependencies.
Sabre XML
XML messages used by Sabre Web Services that are formatted to include the proprietary
data, elements, and attributes of the Sabre system and other applications within Sabre
Holdings. Some of these messages are based on OpenTravel specifications and other
messages are not.
Many of these data elements are added into the messages as child elements of the
TPA_Extensions element.
The WSDL documents for Sabre Web Services are also under the umbrella of Sabre
XML. They are modified for compatibility with Sabre Web Services and various
frameworks for developing and consuming Web services with WSDL.
Sabre Web Services - Guide to Accessing and Consuming Services, v1.40
Sabre Holdings Inc. Confidential
Page 126
Page 127
Page 128
Page 129
Web Services, for example, OTA_AirAvailLLSRQ, which distinguishes them from open
systems Sabre Web Services. Open systems Web services obtain their content from
other business applications within Sabre Holdings.
Compare session management Sabre Web Services.
UN/EDIFACT
United Nations Electronic Data Interchange for Administration, Commerce, and Transport. A
travel message distribution protocol that has syntax rules for exchanging data.
This protocol is based on sentence structure. The two parties who are exchanging data
must agree on the set of messages they plan to exchange in a specific transaction, for
example, the availability of flights and seats at 2:00 on Friday between point A and point
B. OpenTravel and ebXML specifications are sponsored by UN/EDIFACT.
Web service
A software system that uses XML to define the format and data in messages. The
messages are sent over the Internet.
WSDL
Web Services Description Language.
XML
Extensible Markup Language.
Page 130