Try it in the catch block.
On Apr 20, 2005, at 1:03 PM, Greg Militello wrote:
I get nothing. The only output from my client.php script is:
Notice: SOAP Error: Object id #2
That is from my call to $client->getBookings();
<?php
$client = new SoapClient(BOOKING_SERVICE_BASE_URI."booking2.wsdl");
try {
$client->getBookings('2005-04-13', '2005-04-14', 5, 14221);
} catch (SoapFault $exception){
trigger_error("SOAP Error: ".$exception);
}
print_r($client->__getLastRequest());
?>
The script doesn't stop executing after the try, but
$client->__getLastRequest() has no value.
-Greg
On Apr 20, 2005, at 12:37, George Schlossnagle wrote:
On Apr 20, 2005, at 12:18 PM, Greg Militello wrote:
I guess attachment don't work on this list so my WSDL isn't out
there yet. Here it is:
and the output of __getLastRequest()?
George
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
George Schlossnagle
-- Prinicipal Consultant
-- OmniTI Computer Consulting
-- http://www.omniti.com
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php