// Callback function name $forceNoCache = $_REQUEST['bwsp_force_no_cache']; // Empty cache for this query if (!isset($service) or !isset($format)) { exit; } $type = $proxy->getServiceType($_REQUEST); switch ($type) { //REST services case 'REST': if (!isset($serviceUrl)) { exit; } $rest = new Rest(); if ($rest->callService($_REQUEST)) { $rest->printResponse($format, $callback); } break; //EBI SOAP services //EBI SOAP services case 'EBISOAP': switch ($service) { case 'ebiNcbiblast': include_once 'class/class.ebi.ncbiblast.php'; $blast = new EbiNCBIblast(); if ($blast->callService($_REQUEST)) { $blast->printResponse($format, $callback); } break; case 'whatizit': include_once 'class/class.ebi.whatizit.php';