Expand Boolean from '1' to 'true' in PHP 5 SOAP?

From: Date: Thu, 23 Mar 2006 20:16:39 +0000
Subject: Expand Boolean from '1' to 'true' in PHP 5 SOAP?
Groups: php.soap 
Request: Send a blank email to php-soap+get-2165@lists.php.net to get a copy of this message
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? I suspect that this is what is happening: The server's WSDL specifies that the values for the field I am working with is a boolean value so PHP is auto magically sending what it understands boolean to mean... How do I get around this? Thanks! Gil Code snippets: What I set in my array: 'RequestImmediate' => true, What my SOAP client sends: <ns1:RequestImmediate>1</ns1:RequestImmediate> What their server wants: <ns1:RequestImmediate>true</ns1:RequestImmediate>

« previous php.soap (#2165) next »