</script> '; } echo '<a href="index.html">Zurück zur Übersicht</a><br>'; echo '<div id="output">'; class foo { } if (isset($_REQUEST['submit']) && $_GET['method'] == 'getOrtFromKurzbz') { $client = new SoapClient(APP_ROOT . "/soap/ort.wsdl.php?" . microtime(true)); try { $authentifizierung = new foo(); $authentifizierung->username = $_REQUEST['username']; $authentifizierung->passwort = $_REQUEST['passwort']; $response = $client->getOrtFromKurzbz($_REQUEST['ort_kurzbz'], $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'] == 'getRaeume') { $client = new SoapClient(APP_ROOT . "/soap/ort.wsdl.php?" . microtime(true)); try { $authentifizierung = new foo(); $authentifizierung->username = $_REQUEST['username']; $authentifizierung->passwort = $_REQUEST['passwort']; $raumtyp_kurzbz = isset($_REQUEST['raumtyp_kurzbz']) ? $_REQUEST['raumtyp_kurzbz'] : null; $response = $client->getRaeume($raumtyp_kurzbz, $authentifizierung); var_dump($response); } catch (SoapFault $fault) {