--- /dev/null
+<?php
+require_once("../lib/lib.php");
+
+$soapFunctions["status"] = "status";
+global $soapFunctions;
+
+function status()
+{
+ return "im good";
+}
+
+if(isset($_REQUEST["wsdl"])) {
+ generateWSDL();
+ exit(0);
+}
+
+if(isset($_REQUEST["xsd"])) {
+ //generateXSD();
+ exit(0);
+}
+
+function generageWSDL()
+{
+
+}
+
+$s = new SoapServer(NULL, array( "uri" => "http://pjr.cc/glcas"));
+
+foreach($soapFunctions as $function) {
+ $s->addFunction($function);
+}
+
+print_r($s->getFunctions());
+
+
+?>
\ No newline at end of file