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 PHP 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.
--enable-soap
. If you are using the
PHP installation from your operating system distribution (e.g.,
Red Hat Enterprise Linux), you may have to install the SOAP
extension from your distribution's software repository
(e.g., yum install php-soap). The exact details for meeting this
prerequisite vary depending upon your PHP installation and
operating system distribution. This prerequisite is likely to
require additional prerequisites (e.g., php-xml).WsExample.php
.
In order to execute the program, save the
WsExample.php
file to your
computer where PHP is installed as WsExample.php
.
WsExample.php.txt
file
and save it as WsExample.php
in the same directory (folder)
where the SSC PHP class files were extracted to.include_path
contains the location
where the above files were put.$ php WsExample.php