RE: [SOAP] Documentation on using PEAR/SOAP
| From: | James Nunnerley | Date: | Mon, 01 Dec 2003 14:23:23 +0000 |
| Subject: | RE: [SOAP] Documentation on using PEAR/SOAP | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1183@lists.php.net to get a copy of this message | ||
OK... So I've found some documentation, however, it's still not
great.....
I've got the following error coming up on my code:
Warning: Missing argument 2 for login() in
/usr/share/pear/SOAP/WSDL.php(580) : eval()'d code on line 238
I've installed the latest stable version of PEAR::SOAP.
Is this an error in my code or the package?
Nunners
PS: This is my code:
<?php
require_once('SOAP/Client.php');
$wsdlurl =
'http://englandnet4.touchvision.co.uk/testenglandnetclass/service1.asmx?
wsdl';
$WSDL = new SOAP_WSDL($wsdlurl);
$client = $WSDL->getProxy();
$params=array('UserName'=>'','Password'=>'');
#Username & Password
secret!
$response = $client->Login($params);
var_dump($response);
?>
-----Original Message-----
From: James Nunnerley
Sent: 01 December 2003 13:20
To: soap@lists.php.net
Subject: [SOAP] Documentation on using PEAR/SOAP
Sorry to sound very ignorant, however I cannot see any documentation on
how to use the SOAP package from with PEAR. I've tested and tested,
however still can't get it working - but it doesn't help when you are
guessing!
Can someone help?
Thanks
Nunners
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php