soap problems revisited
| From: | Abdul-wahid Paterson | Date: | Wed, 27 Aug 2003 11:48:15 +0000 |
| Subject: | soap problems revisited | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-982@lists.php.net to get a copy of this message | ||
Hi,
I have not had much time to look at Pear::SOAP since my comments a few
weeks ago but to pick up from where I left off I still don't seem to be
able to get a simple WSDL client example working.
Take an example from this page:
http://www.phppatterns.com/index.php/article/articleview/39/1/2/
They show the following code (the last example):
<?php
require_once('SOAP/Client.php');
$wsdl=new SOAP_WSDL(
'http://wavendon.dsdata.co.uk/axis/services/CarRentalQuotes?wsdl');
// Create an object directly from the proxy code
$carRentalQuotes=$wsdl->getProxy();
$countries=$carRentalQuotes->getCountries();
print_r ( $countries );
?>
This however doesn't work for me. In fact, the script seems to die
somewhere inside the $carRentalQuotes->getCountries(); function. If I
print out debug messages before and after this line it prints the one
before but not the one after. Any ideas where I am going wrong?
FYI - I am using
SOAP 0.8.0-RC1
PHP 4.3.2 (as an Apache Module)
Apache 1.3.28
All running under Linux.
Thanks and regards,
--
Abdul-Wahid Paterson
Lintrix Networking & Communications ltd.
Web: http://www.lintrix.net/
Tel: +44 20 8904 2348
Email/Jabber: aw@lintrix.net
--------------------------------------------------------------------
Web-Hosting | Development | Security | Consultancy | Domains
--------------------------------------------------------------------
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc