xcat-core/xCAT-web/webservice.php
jbjohnso c99d72a179 Initial xCAT 2.0 import
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-10-26 22:44:33 +00:00

20 lines
519 B
PHP

<?php
/**
* This file works in conjunction with lib/XCAT/webservice/XCATWebservice.class.php
*/
require_once("globalconfig.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);
?>