--TEST--
Bug #34453 (parsing http://www.w3.org/2001/xml.xsd exception)
--EXTENSIONS--
soap
--INI--
soap.wsdl_cache_enabled=0
--FILE--
server = new SoapServer($wsdl, $options);
$this->server->addFunction('EchoString');
}
function __doRequest($request, $location, $action, $version, $one_way = 0): string {
ob_start();
$this->server->handle($request);
$response = ob_get_contents();
ob_end_clean();
return $response;
}
}
$client = new LocalSoapClient(__DIR__."/bug34453.wsdl", array("trace"=>1));
$client->EchoString(array("value"=>"hello","lang"=>"en"));
echo $client->__getLastRequest();
echo $client->__getLastResponse();
echo "ok\n";
?>
--EXPECT--
hello
hello
ok