help - can't create simple WSDL client
| From: | Abdul-wahid Paterson | Date: | Sat, 19 Jul 2003 16:00:32 +0000 |
| Subject: | help - can't create simple WSDL client | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-860@lists.php.net to get a copy of this message | ||
Hi,
I have been trying to create a simple client without much luck. I found
the following page with an example and tried to follow it:
http://www.phppatterns.com/index.php/article/articleview/39/1/2/
When I take their first example on their site:
<?php
require_once('SOAP/Client.php');
$wsdl=new SOAP_WSDL(
'http://wavendon.dsdata.co.uk/axis/services/CarRentalQuotes?wsdl');
// Look at the generated code...
echo ( $wsdl->generateProxyCode() );
?>
I get:
Warning: reset(): Passed variable is not an array or object in
/usr/lib/php/SOAP/WSDL.php on line 377
Warning: current(): Passed variable is not an array or object in
/usr/lib/php/SOAP/WSDL.php on line 378
I seem to get similar errors for all WSDL I try to access.
I am using
HTTP_Request-1.1.1
Net_URL-1.0.10
SOAP-0.7.4
php-4.3.2
Any help or hints would be appreciated.
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