// This sample show astrometric measures of L5s01PD $client = new SoapClient(SOAP_SERVER_URL); if ($client->getAvailability()) { echo htmlentities($client->getAstrometryFormat( 'txt', // Set output format to plain text 1, 'L5s01PD', // Set the object 0, NULL, 0, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL, 0, NULL)); } else { echo 'Database is temporarily unavailable'; }