--TEST-- Bug #32776 (SOAP doesn't support one-way operations) --SKIPIF-- --INI-- soap.wsdl_cache_enabled=0 --FILE-- server = new SoapServer($wsdl, $options); $this->server->addFunction('test'); } function __doRequest($request, $location, $action, $version, $one_way = 0) { ob_start(); $this->server->handle($request); $response = ob_get_contents(); ob_end_clean(); return $response; } } $x = new LocalSoapClient(dirname(__FILE__)."/bug32776.wsdl",array("trace"=>true,"exceptions"=>false)); var_dump($x->test("Hello")); var_dump($d); var_dump($x->__getLastRequest()); var_dump($x->__getLastResponse()); echo "ok\n"; ?> --EXPECT-- NULL string(5) "Hello" string(459) " Hello " string(0) "" ok