public function testObjectResponse() { $wsdl = $this->baseuri . "/server2.php?wsdl"; $client = new Zend_Soap_Client($wsdl); $ret = $client->request("test", "test"); $this->assertTrue($ret instanceof stdClass); $this->assertEquals("test", $ret->foo); $this->assertEquals("test", $ret->bar); }