Re: [SOAP] Bolean Values PHP 5

From: Date: Tue, 28 Jun 2005 21:12:15 +0000
Subject: Re: [SOAP] Bolean Values PHP 5
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-1940@lists.php.net to get a copy of this message
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 >

« previous php.soap (#1940) next »