JavaScript 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
JavaScript in an HTML page. This example doesn't provide any useful, end-user
functionality but is intended merely as an example for developers of
client application to examine.
Prerequisites
The following is required in order to execute the example program:
- A Mozilla 1.0 or higher based browser (includes Netscape 7.1).
Example
The example JavaScript program is contained in the file
SSCWS_JScriptExample.html.
In order to execute the program, save the
SSCWS_JScriptExample.html file
without the
.txt extension to your local computer's disk.
Instructions
The following instructions describe how to execute the example JavaScript
program:
- Save the HTML file to your
local computer's disk without the
.txt extension.
That is, save the file as SSCWS_JScriptExample.html.
- Open the file from your local disk with a Mozilla based browser that
has JavaScript enabled. Approve the browser's request to grant the
script the privileges required to make the Web service calls when
prompted.
- Compare the resulting rendered page with what you expected from
examining the JavaScript code.
- See SOAP Scripts in
Mozilla for more information about calling Web services from
JavaScript.