<?php
require_once 'nuSOAP/lib/nusoap.php';
$namespace = "http://localhost/soap_2/soap.php";
$server = new soap_server();
$server->configureWSDL("soapTest");
$server->wsdl->schemaTargetNamespace = $namespace;
$server->register('addStatus',
array('XML'=>'xsd:string','id_sender'=>'xsd:int','unique_id'=>'xsd:string','type_receiver'=>'xsd:string','id_receiver'=>'xsd:int','premiership'=>'xsd:int'),
array('return'=>'xsd:boolean'),
$namespace,
false,
'rpc',
'encoded',
'Returns an exhaustive list of all customers in the database');
////////////////////////////////////////////////////////////////////////////////////////////////
function addStatus($XML,$id_sender,$unique_id,$type_receiver,$id_receiver,$premiership = '') {
}
////////////////////////////////////////////////////////////////////////////////////////////////
$POST_DATA = isset($GLOBALS['HTTP_RAW_POST_DATA']) ? $GLOBALS['HTTP_RAW_POST_DATA'] : '';
$server->service($POST_DATA);
exit();
?>