RH5 Ent
sugar version 4.51d
Apache 2
PHP 5
SQL 5

does anyone have an example of using sugarCRMs SOAP w/ PHP 5?

having problems with this:
http://www.sugarcrm.com/forums/newth...=newthread&f=3


define('sugarEntry', TRUE);
require_once("/var/www/html/********/crm/include/nusoap/nusoap.php");
$wsdl="http://crm.********.com/soap.php?wsdl";
$sugar_client = new soapclient($wsdl, true);
$proxy = $sugar_client->getProxy();
$ret = $proxy->test('test');
print_r($ret);

getting the following in the error log:
[Sun May 27 01:35:41 2007] [error] [client 67.102.28.216] PHP Warning: SoapClient::__construct() expects parameter 2 to be array, boolean given in /var/www/html/***********/www/lib/php/submit.php on line 23
[Sun May 27 01:35:41 2007] [error] [client 67.102.28.216] PHP Fatal error: SoapClient::__construct() [<a href='function.SoapClient---construct'>function.SoapClient---construct</a>]: Invalid parameters in /var/www/html/***********/www/lib/php/submit.php on line 23
[Sun May 27 01:35:41 2007] [error] [client 67.102.28.216] PHP Fatal error: Uncaught SoapFault exception: [Client] SoapClient::__construct() [<a href='function.SoapClient---construct'>function.SoapClient---construct</a>]: Invalid parameters in /var/www/html/***********/www/lib/php/submit.php:23\nStack trace:\n#0 /var/www/html/***********/www/lib/php/submit.php(23): SoapClient->__construct('http://crm.real...', true)\n#1 {main}\n thrown in /var/www/html/***********/www/lib/php/submit.php on line 23