<body><div id="page-content"> <h1>BasicService Examples</h1> <?php $url = "http://" . $_SERVER["SERVER_NAME"] . dirname($_SERVER["SCRIPT_NAME"]) . "/basic-ws.php?wsdl"; $client = new SoapClient($url, array("trace" => 1, "exceptions" => 0)); ?> <h2>xsd:string GiveMeString()</h2> <pre class="console"> <?php try { print "GiveMeString() returns:\r\n"; ?> <span class="return"><?php echo htmlspecialchars(var_export($client->GiveMeString(), true)); ?> </span><?php print "\r\n\r\nRequest was:\r\n" . preXml($client->__getLastRequest()) . "\r\n"; print "\r\nResponse was:\r\n" . preXml($client->__getLastResponse()) . "\r\n"; } catch (SoapFault $x) { print "Exception:\r\n" . $x . "\r\n"; } ?> </pre> <h2>xsd:int GiveMeInteger()</h2> <pre class="console"> <?php try {