9 include_once(
"./include/nusoap.php");
14 :
"http://www.ilias.de/lt4el/Services/SOAPAuth/dummy_server.php";
27 'server <input size="80" type="text" name="server" "value="' .
$server .
'"/>' .
28 '<br />ext_uid <input size="50" type="text" name="ext_uid" "value="' .
$ext_uid .
'"/>' .
29 '<br />soap_pw <input size="50" type="text" name="soap_pw" "value="' .
$soap_pw .
'"/>' .
30 '<br />new_user <input size="50" type="text" name="new_user" "value="' .
$new_user .
'"/> (1 for true, 0 for false)' .
31 '<br /><input type="submit" /><br />' .
32 '<b>The test server will return true/valid, if ext_uid == soap_pw.</b>' .
35 echo "<br /><br />----------------------------------------------<br /><br /> Calling Server...";
39 if ($err =
$client->getError()) {
40 echo '<h2>Constructor error</h2><pre>' . $err .
'</pre>';
63 echo "<br />End Test";
68 echo '<h2>Fault</h2><pre>';
76 echo '<h2>Error</h2><pre>' . $err .
'</pre>';
if($err=$client->getError()) $namespace
soapclient higher level class for easy usage.
catch(Exception $e) $message
showResult(&$client, $data, $message)