#40099 [Opn->Fbk]: Cannot pass long (> 2147483647) in SOAP requests
| From: | tony2001@php.net | Date: | Thu, 11 Jan 2007 13:48:47 +0000 |
| Subject: | #40099 [Opn->Fbk]: Cannot pass long (> 2147483647) in SOAP requests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107489@lists.php.net to get a copy of this message | ||
ID: 40099
Updated by: tony2001@php.net
Reported By: phpbugs at henrik dot synth dot no
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: MacOSX
PHP Version: 5.2.0
New Comment:
Cannot reproduce.
Previous Comments:
------------------------------------------------------------------------
[2007-01-11 13:35:58] phpbugs at henrik dot synth dot no
Description:
------------
It seems like numbers larger than 2^32 / 2 still are problem.
PHP should handle XSD_LONG, or at least throw a notice if it cannot.
Client was PHP 5.2.0, server was JbossWS 4.0.4GA, both on MacOSX.
Expected results are from the jboss soap debug log.
Also see http://bugs.php.net/bug.php?id=30045 and
http://bugs.php.net/bug.php?id=36999
Reproduce code:
---------------
$typedVar = new SoapVar(1168516001677, XSD_UNSIGNEDLONG);
$client->__soapCall("myFunction", array($typedVar)) );
Expected result:
----------------
<Long_1>1168516001677</Long_1>
Actual result:
--------------
<Long_1>2147483647</Long_1>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40099&edit=1