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