[SOAP] soap problems revisited

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

 



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: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux