--TEST--
Bug #29839 (incorrect convert (xml:lang to lang))
--SKIPIF--
--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) {
ob_start();
$this->server->handle($request);
$response = ob_get_contents();
ob_end_clean();
return $response;
}
}
$client = new LocalSoapClient(dirname(__FILE__)."/bug29839.wsdl", array("trace"=>1));
$client->EchoString(array("value"=>"hello","lang"=>"en"));
echo $client->__getLastRequest();
echo $client->__getLastResponse();
echo "ok\n";
?>
--EXPECT--
hello
hello
ok