Re: [SOAP] SOAP structs help
| From: | George Schlossnagle | Date: | Wed, 20 Apr 2005 17:07:09 +0000 |
| Subject: | Re: [SOAP] SOAP structs help | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1871@lists.php.net to get a copy of this message | ||
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:-- Prinicipal Consultant -- OmniTI Computer Consulting -- http://www.omniti.comOn Apr 20, 2005, at 12:18 PM, Greg Militello wrote:George SchlossnagleI 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