Bug #17985 Updated: SOAP Class Value Type Issue
| From: | programming at cari dot net | Date: | Wed, 26 Jun 2002 15:50:09 +0000 |
| Subject: | Bug #17985 Updated: SOAP Class Value Type Issue | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7375@lists.php.net to get a copy of this message | ||
ID: 17985
Updated by: programming@cari.net
Reported By: programming@cari.net
-Status: Open
+Status: Closed
Bug Type: PEAR related
Operating System: Linux
PHP Version: 4.1.2
New Comment:
Maybe if I could read I wouldn't have these problems. Thank you that
worked just fine. Setting the default to FALSE would probably be a
good thing, this conversion is probably not what you would normally
want to happen.
Previous Comments:
------------------------------------------------------------------------
[2002-06-25 21:20:18] shane@caraveo.com
You can set the class variable SOAP_BASE::doconversion to false to skip
that section of code. I think I'll set that to false by default.
------------------------------------------------------------------------
[2002-06-25 19:39:37] programming@cari.net
We discovered a problem with the type detection code in Base.php within
the SOAP class. It incorectly detects strings like CC or even abcd as
'hexBinary'. It took us quite a while to discover what was happening.
The server then takes the string and tries to un-hex it. This leads to
incorrect data arriving at the server. The code in Base.php looks like
this:
if (SOAP_Type_hexBinary::is_hexbin($value)) {
$type = 'hexBinary';
} else
We simply commented it out so that it wouldn't change the type. I know
what this code is trying to do, but this is probably not the best way
to do it.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17985&edit=1