--TEST-- SOAP Typemap 4: SoapClient support for typemap's to_xml() --SKIPIF-- --INI-- soap.wsdl_cache_enabled=0 --FILE-- '.$book->a.'!'.$book->b.'!'; } $options=Array( '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(dirname(__FILE__)."/classmap.wsdl",$options); $book = new book(); $book->a = "foo"; $book->b = "bar"; $ret = $client->dotest($book); var_dump($ret); echo "ok\n"; ?> --EXPECT-- foo!bar!