Ejemplo n.º 1
0
#!/usr/bin/php
<?php 
/**
 * Command-line script to clear the freshmen housing waiver on
 * a freshmen's housing application in Banner.
 *
 * @author Jeremy Booker <jbooker at tux dot appstate dot edu>
 */
require_once 'SOAP.php';
require_once 'cliCommon.php';
$args = array('username' => '', 'term' => '');
$switches = array();
check_args($argc, $argv, $args, $switches);
$soap = new PhpSOAP();
try {
    $result = $soap->clearHousingWaiver($args['username'], $args['term']);
} catch (Exception $e) {
    echo $e;
    echo "\n";
    exit;
}
var_dump($result);