alert("Fehler: "+fehler);
            }
        }

        </script>';
        }
    }
}
echo '<a href="index.html">Zurück zur Übersicht</a><br>';
if (isset($_REQUEST['submit_matrikelnummer'])) {
    $client = new SoapClient(APP_ROOT . "soap/student.wsdl.php?" . microtime(true));
    try {
        $authentifizierung = new foo();
        $authentifizierung->username = $_REQUEST['username'];
        $authentifizierung->passwort = $_REQUEST['passwort'];
        $response = $client->getStudentFromMatrikelnummer($matrikelnummer = $_REQUEST['matrikelnummer'], $authentifizierung);
        var_dump($response);
    } catch (SoapFault $fault) {
        echo "SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR;
    }
}
if (isset($_REQUEST['submit_uid'])) {
    $client = new SoapClient(APP_ROOT . "soap/student.wsdl.php?" . microtime(true));
    try {
        $authentifizierung = new foo();
        $authentifizierung->username = $_REQUEST['username'];
        $authentifizierung->passwort = $_REQUEST['passwort'];
        $response = $client->getStudentFromUid($student_uid = $_REQUEST['student_uid'], $authentifizierung);
        var_dump($response);
    } catch (SoapFault $fault) {
        echo "SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR;