SOAP_1_1, 'trace' => true)); $serveur->addFunction('SignalMonitoringEvents'); $serveur->handle(); } // --------------------------------------------------------------------------- // // SignalMonitoringEvents // --------------------------------------------------------------------------- // function SignalMonitoringEvents($o) { //$e = new StdClass; //$e->ErrorCode = 9000; //$e->ErrorMessage = print_r($o, true); //throw new SoapFault('FunctionalError', print_r($e, true)); $r = new StdClass; $r->NumberOfEventsReceived = count($o->MonitoringEvents->MonitoringEvent); $r->version = VERSION; return $r; } ?>