Re: [SOAP] SOAP structs help

From: Date: Wed, 20 Apr 2005 04:42:35 +0000
Subject: Re: [SOAP] SOAP structs help
References: 1 2 3 4  Groups: php.soap 
Request: Send a blank email to php-soap+get-1867@lists.php.net to get a copy of this message
My client.php is now: <?php ini_set("soap.wsdl_cache_enabled", "0"); $client = new SoapClient("http://localhost/booking.wsdl"); try { $client->getBookings('2005-04-13', '2005-04-14', 5, 14221); } catch (SoapFault $exception){ trigger_error("SOAP Error: ".$exception); } print $client->__getLastRequest(); ?> The server is the same. Output: Notice: SOAP Error: Object id #2 in /Users/gsm/Sites/ii/dolihd/mvc/models/bookingModel.php on line 7 I've attached my WSDL, it's more complicated now than it needs to be for this example. Also I know the file name is 'booking2.wsdl', and I am using 'booking.wsdl' in my code. -Greg

« previous php.soap (#1867) next »