</script>
	        ';
}
echo '<a href="index.html">Zurück zur Übersicht</a><br>';
echo '<div id="output">';
class foo
{
}
if (isset($_REQUEST['submit']) && $_GET['method'] == 'getPersonFromUID') {
    $client = new SoapClient(APP_ROOT . "/soap/person.wsdl.php?" . microtime(true));
    try {
        $authentifizierung = new foo();
        $authentifizierung->username = $_REQUEST['username'];
        $authentifizierung->passwort = $_REQUEST['passwort'];
        $response = $client->getPersonFromUID($_REQUEST['uid'], $authentifizierung);
        var_dump($response);
    } catch (SoapFault $fault) {
        echo "SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR;
    }
}
if (isset($_REQUEST['submit']) && $_GET['method'] == 'searchPerson') {
    $client = new SoapClient(APP_ROOT . "/soap/person.wsdl.php?" . microtime(true));
    try {
        $authentifizierung = new foo();
        $authentifizierung->username = $_REQUEST['username'];
        $authentifizierung->passwort = $_REQUEST['passwort'];
        $response = $client->searchPerson($_REQUEST['searchItems'], $authentifizierung);
        var_dump($response);
    } catch (SoapFault $fault) {
        echo "SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR;