NASA Logo, National Aeronautics and Space Administration

Perl SSC Web Services Example

The Satellite Situation Center (SSC) Web services allow a software developer to use portions of the SSC software in their own application.  The following describes an example of how to utilize the SSC Web Services from a client program written in the Perl programming language. This example doesn't provide any useful, end-user functionality but is intended merely as an example for developers of client applications to examine.

Prerequisites

The following is required in order to execute the example program:

Example

The example Perl program is contained in the file WsExample.pl. In order to execute the program, save the WsExample.pl file to your computer where Perl is installed.

Instructions

The following instructions describe how to execute the example Perl program:
  1. On UNIX like systems:
    1. Edit the WsExample.pl file and verify that the first line of the file (the #! [shebang] line) is correct for your system's configuration.
    2. Make the file executable (chmod +x WsExample.pl).
    3. Execute the program (./WsExample.pl) and compare the output with what you expected from examining the Perl source code.
  2. On non-UNIX like systems:
    1. Execute the program (e.g., Perl WsExample.pl) using the appropriate procedure and compare the output with what you expected from examining the Perl source code.
NASA Logo - nasa.gov