Re: [SOAP] Expand Boolean from '1' to 'true' in PHP 5 SOAP?

From: Date: Fri, 24 Mar 2006 15:14:24 +0000
Subject: Re: [SOAP] Expand Boolean from '1' to 'true' in PHP 5 SOAP?
References: 1 2  Groups: php.soap 
Request: Send a blank email to php-soap+get-2171@lists.php.net to get a copy of this message
On 3/23/06 4:59 PM, in article 44231A31.4070402@jool.nl, ""David Kingma | jool.nl"" <D.Kingma@jool.nl> wrote: > Hi Gilbert, > > Gilbert Wilson wrote: >> I'm working on a SOAP client that is talking to a SOAP server that does not >> accept '1' or '0' for true and false boolean values. The SOAP client >> MUST >> send these values as the words 'true' or 'false'. How does one get PHP >> 5's >> SOAP extension to send boolean values in this manner? > > Which version of PHP are you using? In older PHP (<= 5.0.4) it was 1's > and 0's, now its 'true' or 'false'. > > See also: > http://bugs.php.net/bug.php?id=33602 > > Kind regards, > > David Yes, that looks like the problem. My web host is using 5.0.4. I put in a ticket asking (nicely) if they would upgrade their PHP installation because of this bug. Thanks! Gil

« previous php.soap (#2171) next »