Re: SOAP structs help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




On Apr 20, 2005, at 00:21, George Schlossnagle wrote:

__getLastRequest()
-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux