I would file a bug report on that as it should recognize true as a valid boolean value. Al On Mon, 2005-06-27 at 16:58 +0100, Steve Robinson wrote: > 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 >