Bolean Values PHP 5

From: Date: Mon, 27 Jun 2005 15:58:07 +0000
Subject: Bolean Values PHP 5
Groups: php.soap 
Request: Send a blank email to php-soap+get-1939@lists.php.net to get a copy of this message
Hi, So far I've been quite successful with PHP 5's SOAP implementation, however I am now trying to call a third party routine that requires a Boolean value as the second parameter, for example: $sParams = array('deviceId'=>$_POST['device_pkid'],'isHardReset'=>true); $sResetResponse = $oClient->doDeviceReset($sParams); When executed I get: Uncaught SoapFault exception: [SOAP-ENV:Client] Invalid boolean value: 1 in ... The XSD documents the second parameter as xsd:boolean etc., etc. Is this a PHP SOAP bug or should I look somewhere else? Any help would be much appreciated. Regards Steve

« previous php.soap (#1939) next »