log($requestData); } public function SayHello($person) { return "Hello, ". $person->name ." ". $person->name2 ."!"; } } $s = new SoapServer('http://localhost/~joshteam/Soap/main.wsdl'); //timestamp & request to service $log = date('m/j/y g:i:s').': '.file_get_contents('php://input'); $s->setClass('SoapRequest', $log); $s->handle(); ?>