--TEST--
SOAP Typemap 8: SoapClient support for typemap's to_xml() (without WSDL, using SoapVar)
--EXTENSIONS--
soap
--INI--
soap.wsdl_cache_enabled=0
--FILE--
'.$book->a.'!'.$book->b.'!';
}
$options=Array(
'uri' => 'http://schemas.nothing.com',
'location' => 'test://',
'actor' => 'http://schemas.nothing.com',
'typemap' => array(array("type_ns" => "http://schemas.nothing.com",
"type_name" => "book",
"to_xml" => "book_to_xml"))
);
$client = new TestSoapClient(NULL, $options);
$book = new book();
$book->a = "foo";
$book->b = "bar";
$ret = $client->dotest(new SoapVar($book, null, "book", "http://schemas.nothing.com"));
var_dump($ret);
echo "ok\n";
?>
--EXPECT--
foo!bar!