* * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \**************************************************************************/ /* $Id$ */ $soap_temp_kp3 = $kp3; $soap_temp_domain = $domain; $phpgw_info['flags'] = array( 'disable_template_class' => True, // 'login' => True, 'currentapp' => 'calendar', 'noappheader' => True, 'noappfooter' => True ); include('../header.inc.php'); include('../soap/vars.php'); // $method_params = Array(); $server['calendar.bocalendar.read_entry'] = array( 'soapaction' => "urn:soapinterop", 'endpoint' => "http://devel/phpgroupware/calendar/soap_server.php?sessionid=$sessionid&kp3=$soap_temp_kp3&domain=$soap_temp_domain", // 'endpoint' => "http://devel/phpgroupware/calendar/soap_server.php", 'methodNamespace' => "http://soapinterop.org", 'soapactionNeedsMethod' => 0, 'name' => 'phpGW calendar - read_entry' ); $server['calendar.bocalendar.store_to_cache'] = array( 'soapaction' => "urn:soapinterop", 'endpoint' => "http://devel/phpgroupware/calendar/soap_server.php?sessionid=$sessionid&kp3=$soap_temp_kp3&domain=$soap_temp_domain", // 'endpoint' => "http://devel/phpgroupware/calendar/soap_server.php", 'methodNamespace' => "http://soapinterop.org", 'soapactionNeedsMethod' => 0, 'name' => 'phpGW calendar - store_to_cache' ); // $method_params['calendar.bocalendar.read_entry']['id'] = 85; // $method_params['calendar.bocalendar.store_to_cache']['syear'] = 2001; // $method_params['calendar.bocalendar.store_to_cache']['smonth'] = 7; // $method_params['calendar.bocalendar.store_to_cache']['sday'] = 9; // $method_params['calendar.bocalendar.store_to_cache']['eyear'] = 2001; // $method_params['calendar.bocalendar.store_to_cache']['emonth'] = 7; // $method_params['calendar.bocalendar.store_to_cache']['eday'] = 10; // $method = 'calendar.bocalendar.read_entry'; // $method = 'calendar.bocalendar.store_to_cache'; $sb = CreateObject('phpgwapi.sbox'); ?>
'; if($method && $submit) { settype($method_params['calendar.bocalendar.read_entry']['id'],'integer'); settype($method_params['calendar.bocalendar.store_to_cache']['syear'],'integer'); settype($method_params['calendar.bocalendar.store_to_cache']['smonth'],'integer'); settype($method_params['calendar.bocalendar.store_to_cache']['sday'],'integer'); settype($method_params['calendar.bocalendar.store_to_cache']['eyear'],'integer'); settype($method_params['calendar.bocalendar.store_to_cache']['emonth'],'integer'); settype($method_params['calendar.bocalendar.store_to_cache']['eday'],'integer'); print "METHOD: ".$method."