2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00
xcat-core/xCAT-web/webservice.php
2007-11-24 17:44:09 +00:00

19 lines
484 B
PHP

<?php
/**
* This file works in conjunction with lib/XCAT/webservice/XCATWebservice.class.php
*/
require_once("lib/XCAT/webservice/XCATWebservice.class.php");
$methodName = $_REQUEST["method"];
$parameterNames = XCATWebservice::getMethodParameters($methodName);
$parameterHash = array();
foreach($parameterNames as $parameterName) {
$parameterHash[$parameterName] = $_REQUEST[$parameterName];
}
XCATWebservice::processRequest($methodName, $parameterHash);
?>