Bolean Values PHP 5

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

 



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

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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

  Powered by Linux