Parallel performance
Restart sessions
Time out
TCP/IP error on Gabriel side
Using UTS WEB 6 in the .NET
Direct access via TCP/IP sockets
UTS WEB 6 is software for development WEB applications for access to SITA Gabriel system.
UTS WEB 6 is HTTP interface for access to Gabriel system. This interface can be used for development of various WEB-projects: help systems, booking and sale of air tickets, etc.
UTS WEB 6 receive Gabriel commands from WEB Server. UTS WEB 6 provides execution of Gabriel commands, specified in parameters of the HTTP-requests. Commands converts to Gabriel transactions and send via UTS NET network to Atlanta Data Processing Center (ATLDP) to Gabriel system. The responses from Gabriel system resends to UTS WEB 6 and converts to HTTP protocol for UTS WEB server.
It allows developers of WEB-applications to use standard HTTP protocol for access to ATLDP - Gabriel.
Attention ! UTS WEB 6 provides parallel running of unlimited quantity of requests for any airlines from Gabriel. The UTS WEB 6 dispatcher allows to running sequences of Gabriel commands with context saving between requests.
UTS WEB 6 uses UTS NET servers for access to Gabriel system. Therefore, for work and use UTS WEB 6, it is necessary to be the registered user of UTS NET network and to have Username/Password for access to UTS NET network. Procedure of connection to UTS NET is described hear.
For work with Gabriel through UTS WEB 6 it is necessary to have PID, SITA USERID/PASSWORD and SI for access to Gabriel system. You have to request these data from airlines.
Attention ! UTS WEB 6 can use STATIC and DYNAMIC PID. The STATIC PID you have to request from airline. Dynamic PID it is possible to appoint independently from a range 70000-99999. For everyone PID in UTS WEB 6 unique serial number(SN) will assigned. Registration of serial numbers (SN - PID) for UTS WEB 6 you can find hear.
Download UTS WEB 6 from http://www.uts2000.com/uts2000/d/uts_web_6x.exe and set up this program on your PC.
All files and folders for UTS WEB will be contained in the folder: C:\Program Files\UTS WEB\Bin\
UTS_WEB_6.exe - runtime file
UTS_WEB_6x.ini - configuration file
test_form.htm - test htm page
\Log\... - folder for log files for each PID
UTS WEB configuration parameters is contained in the file UTS_WEB_6x.ini
Attention ! If dynamic PID (for
example 70213) is used for UTS WEB 6, then SI command should be in the extended
format (with SITA password): SI:NNNN/PASSWORD/USRLVL.
where
NNNN - agent number
PASSWORD - SITA PASSWORD for access to Gabriel
USRLVL - user level
Built - in in UTS WEB 6 dispatcher, provides parallel performance set of Gabriel commands through set of PIDs for different airlines. The PIDs for any airlines is described in the section [NNNNN] in the configuration file UTS_WEB_6x.ini.
Attention !
All used PIDs should be registered with serial numbers (SN) in UTS Register and enabled in UTS NET. Procedure of connection to UTS NET is described hear.
You can find serial number (SN) for each PID on the page PIDs and SN Registration of UTS WEB 6 program.

Registration of serial number (SN) and PID for UTS WEB 6 is the same as for UTS Access 6 and described here. For registration SN-PID it is necessary to be the member of UTS NET network and to have Username/Password for access to UTS NET network. Procedure of connection to UTS NET is described here.
Run UTS_WEB_6.exe. Configuration file UTS_WEB_6x.ini should be in the same folder as executed module UTS_WEB_6.exe

UTS WEB 6 will automatically start all sessions (PIDs) listed in the file UTS_WEB_6x.ini. These sessions works with Gabriel system. At each session start or restart, sign in commands SI... (SIGN IN) are automatically executed.
If session will be closed or error will detected, the UTS WEB 6 restart this session automatically.
The trace of all commands you can find in a Trace page from UTS WEB 6 program.

UTS_ WEB_6.exe can be started as Windows service by using of SrvAny program.
UTS WEB 6 supports two mode for Gabriel command:
Running of single commands without PIDs context saving.
Running of sequence commands with context saving for PID after command performance.
If you want to execute Gabriel command as single command, then you can execute this command with any free PID for selected Airline.
For this mode you send following HTTP request to UTS WEB 6 program:
212.30.150.66 - IP address of UTS WEB 6. Demo IP address is 212.30.150.66
28000 - UTS WEB 6 IP port. This port is described in the configuration file UTS_WEB_6x.ini, in the field UTS_WEB_PORT= 28000. You can use any free IP port
gabriel_cmd - key word for Gabriel command
AV:MOWLON - text of Gabriel command
ALC=UN - airline code (UN)
PID=ANY - execute command AV:MOWLON with any free PID for airline UN.
Attention ! For running of command sequence it is necessary to use dedicated PID number. In this case, parameters PID= contains PID number. This PID number have to request from UTS WEB by the command GET_PID. See Performance of command sequence
After single command execution (request with parameter PID=ANY ) PID will be automatically released for using by other requests. Therefore, PID condition after execution of request with parameter PID=ANY is unknown. And the following request from other WEB-session can change condition of this PID.
For multi lines commands input use a symbol %13 in gabriel_cmd= parameter of HTTP-request. This symbol separates command lines.
In some cases it is necessary to execute a some set of Gabriel commands from one PID. For example, at creation PNR it is necessary to execute following commands sequence AV, SD, NM, CT, TK, *. In this case it is important, that PID save the condition (context) after previous command.
For these purposes in UTS WEB 6 the GET/FREE mechanism for PID's number is realized. That is from this PID you can run Gabriel commands chain. If you want to get PID number for exclusive use it is necessary to execute GET_PID request. This request return PID number for using. The FREE_PID request releases this PID number after commands chain.
For running of commands chain it is necessary to execute the following request:
GET_PID request is used for reception of free PID number for airline UN.
After this you will receive response from UTS WEB:
Field USED PID:70000 contains assigned PID number. This PID number you have to use in the requests to Gabriel system in the parameter PID=. In this case parameter ALC = (airline code) becomes unessential.
Execute DA Gabriel command for PID 70000
Execute next command from Gabriel commands chain for PID 70000
At finish of your work you have to free PID=70000 by request FREE_PID
If operation is executed successfully, then RELEASED PID: line contains number of released PID
Attention ! If PID, received by GET_PID has not been obviously released by request FREE_PID, then given PID cannot be repeatedly assigned by GET_PID request. Therefore, developers should provide means of guaranteed releasing of PID after performance of necessary commands sequence.
Answers from Gabriel will be directed from UTS WEB 6 to WEB server through HTTP protocol as plain text. Lines are divided by a symbol $D (#13). Symbol SOE (>) is replaced on <SOE_SYM> symbols.
VERSION=UTS WEB 6.1.0.105 - version of UTS WEB 6
PID=70000 - PID number
AIRLINE=UN - airline code
ERRORS=NO - mistakes presence or not (YES/NO)
ANSWER - answer from Gabriel or from UTS WEB 6
UTS WEB 6 does not parse of Gabriel answers and does not transform to other formats. This problem lays completely on developers of WEB-applications.
If two ore more WEB sessions send request to UTS WEB 6, then for each session separate PID will be used from UTS WEB 6. If free PIDs unavailable (all PIDs is used in this moment), the answer will be received:
and connection with WEB client will be closed.
For big WEB sites should be started necessary quantity of PIDs (3-5 and more) which will serve WEB requests.
If error detected (connection closed, session closed etc) then UTS WEB 6 restart session by automatically. You can not send Gabriel command in restart time. If session (PID) is in a restart mode and you send request from WEB server then you will receive answer:
and connection with WEB client will be closed.
Also you can send request for restart PID
If command is successful you will receive answer from UTS WEB 6:
If session is in active mode but you do not receive answer from Gabriel in 1 minute period, then you will receive answer:
and session will be closed. After this, the session will be restarted by automatically.
If TCP/IP errors detected on Gabriel side you will receive answer:
and session will be closed. After this, the session will be restarted by automatically.
For access to UTS WEB 6 from ASP.NET you can use classes: WebClient or HTTPWebRequest.
It is example for access to UTS WEB 6 from ASP.NET (VB) applications:
You can use TCP/IP sockets for access to UTS WEB 6.
For example you want to execute Gabriel DA command. In this case you send following text through TCP/IP socket:
Where DA - Gabriel command.
PID=74321 - PID number.
If you want to get free PID for any airline you have to send following line.
In answer you receive free PID number for work with Gabriel as commands
chain:
VERSION=UTS WEB 6.1.0.114
PID=70000
AIRLINE=UN
ERRORS=NO
ANSWER
USED PID: 74321
After last command, PID=74321 must be released for using by other requests:
If request contains PID=ANY, then request will be executed under any free PID for airline ALC SU as example.
Before "HTTP/1.1" YOU HAVE TO TYPE ONE BLANK SPACE !!!
HTTP response contains HTTP header. After header the answer text follows.
HTTP strokes separates by CRLF ( $D$A)
RESPONSE is response from UTS WEB 6. Answer lines separates by $D symbol.
NNNNN is length of response.
UTS WEB 6 works with UTS NET network for access to Gabriel system. Therefore, you have to register in the UTS NET network. See. Registration in the UTS NET network
Payment for UTS WEB 6 is the same as for UTS Access program. Everyone UTS WEB 6 PID has unique serial number (SN).
Attention ! In account for payment - quantity of used serial numbers (SN) UTS WEB 6 (quantity PID) should be ADDED to quantity of used serial numbers of UTS Access program. PID for UTS WEB 6 and for UTS Access it is necessary to pay under one account as for total quantity PIDs number.
Registration for UTS WEB 6 PIDs is the same as for PIDs for UTS Access program. UTS Access/UTS WEB registration is described here.
Attention ! Serial numbers for each PID for UTS WEB 6 program is contained in the PIDs and SN Registration page.