// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: tiki-watershed_service.php 39467 2012-01-12 19:47:28Z changi67 $ // This page should not load tiki-setup.php. Environment loading and access checking is done within the webservice. require_once 'lib/videogals/watershedlib.php'; $access->check_feature('feature_watershed'); $server = new SoapServer( "http://watershed-user.ustream.tv/webservice/watershed_user.php?wsdl", array( 'classmap' => Watershed_SoapServer::getClassMap(), 'soap_version' => SOAP_1_2, ) ); $server->setClass('Watershed_SoapServer'); $input = file_get_contents('php://input'); // Debugging SOAP request //$myFile = "soaplog.txt"; //$fh = fopen($myFile, 'a'); //fwrite($fh, $input); //fclose($fh); if ( $input ) { $server->handle($input);
<?php /** * @package tikiwiki */ // (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: tiki-watershed_service.php 44444 2013-01-05 21:24:24Z changi67 $ // This page should not load tiki-setup.php. Environment loading and access checking is done within the webservice. require_once 'lib/videogals/watershedlib.php'; $access->check_feature('feature_watershed'); $server = new SoapServer("http://watershed-user.ustream.tv/webservice/watershed_user.php?wsdl", array('classmap' => Watershed_SoapServer::getClassMap(), 'soap_version' => SOAP_1_2)); $server->setClass('Watershed_SoapServer'); $input = file_get_contents('php://input'); // Debugging SOAP request //$myFile = "soaplog.txt"; //$fh = fopen($myFile, 'a'); //fwrite($fh, $input); //fclose($fh); if ($input) { $server->handle($input); }