From ee16466108cb19df9c1d1193fce7a3c48535530e Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sat, 12 Feb 2011 22:52:30 -0500 Subject: [PATCH] added test screen for web services - incomplete --- main/webservices/test.php | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 main/webservices/test.php diff --git a/main/webservices/test.php b/main/webservices/test.php new file mode 100644 index 0000000000..ccdb6746bc --- /dev/null +++ b/main/webservices/test.php @@ -0,0 +1,35 @@ + + + +
+getError(); +if ($err) { + // Display the error + echo '

Constructor error

' . $err . '
'; + // At this point, you know the call that follows will fail +} +$response = array(); +if (!empty($_POST['function'])) { + $response = $client->call($_POST['function']); + echo '
#';
+  print_r($response);
+  echo '#
'; +} +?> +
+
+ +
+ +
+ +