Location: PHPKode > projects > Volunteer Management OpenSource Software > vmoss_alpha02/inc/lib_ws/lib_stream_soap.inc
/* $Id: lib_stream_soap.inc,v 1.1 2007/09/25 13:04:01 ravids Exp $ */

 * <Description goes here>
 * PHP version 4 and 5
 * * LICENSE: This source file is subject to LGPL license
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @package    framework
 * @subpackage stream_soap
 * @author     Ravindra De Silva <hide@address.com><http://r4vi.org>
 * @copyright  Lanka Software Foundation - http://www.opensource.lk
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
global $global;
require_once ($global['approot'].'inc/lib_security/lib_auth.inc');

function shn_stream_init(){

	//at this point , the web service call has passed basic authentication
	global $server;
	global $global;
	global $conf;
	$server = new soap_server();
	//the initiliazation stuff is done, now bulk of the work is done in the shn_soap_ws_reg() method

function shn_stream_close(){
	global $server;
	global $HTTP_RAW_POST_DATA;// its essential to make this global, otherwise no content
	$server->service($HTTP_RAW_POST_DATA); //starts the service with SOAP (RAW HTTP) data


Return current item: Volunteer Management OpenSource Software