com.sabre.redapp.example.cf.sds Sample
The com.sabre.redapp.example.cf.sds sample sends the 1DFWLAX
command to the Sabre GDS (host) and returns a response in SDS format. The last line of the log on the screen contains the host response.
The following describes the files that this sample includes:
-
Activator.java
gets an instance of SRWRuntime and obtains the authentication token. This class also sends an action code1DFWLAX
, requests the SDS service, and sends the action code as an SDS command. -
redapp.xml
contains an authorization entry to use the SDS communications service.
Running the Sample
Launch Sabre Red 360 from your run configuration. Log in to the Sabre host using Sabre emulator. To run the sample, start the com.sabre.redapp.example.cf.sds plug-in manually using Eclipse.
The following figure shows the SDS log within the Sabre GDS. In the figure, the SDS response is truncated.
For information about SDS, contact your Sabre account manager.