#48717 [Com]: Cannot pass datatype long (> 2147483647) in SOAP requests
| From: | persiancity at gmail dot com | Date: | Fri, 25 Sep 2009 17:23:01 +0000 |
| Subject: | #48717 [Com]: Cannot pass datatype long (> 2147483647) in SOAP requests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-142883@lists.php.net to get a copy of this message | ||
ID: 48717
Comment by: persiancity at gmail dot com
Reported By: rob at zcore dot org
Status: Open
Bug Type: SOAP related
Operating System: Debian GNU/Linux
PHP Version: 5.2.10
New Comment:
another note:
I get corrent result sends from a server using PHP 5.2.42
Incorrect result sends from a server with PHP 5.2.9
Previous Comments:
------------------------------------------------------------------------
[2009-09-25 17:20:18] persiancity at gmail dot com
I am not pro in SOAP so maybe provide me __getLastRequest/Response
testing code?
------------------------------------------------------------------------
[2009-09-25 16:51:46] sjoerd@php.net
I can not reproduce it with PHP 5.2 HEAD. Can you check with a sniffer,
or with __getLastRequest/Response if the error also occurs in the
request?
------------------------------------------------------------------------
[2009-09-25 16:42:45] persiancity at gmail dot com
I have the same problem ( http://bugs.php.net/bug.php?id=49669 ) but
float replacement not working!
------------------------------------------------------------------------
[2009-07-15 14:18:50] rob at zcore dot org
Sorry, this one is way toooo dirty.
------------------------------------------------------------------------
[2009-07-14 13:59:07] ghostbaer at gmx dot de
Hi,
a very dirty workaround is to download the wsdl an rewrite it locally
to another datatype. Changing this line:
<xs:element name="id" type="xs:long"></xs:element>
to
<xs:element name="id" type="xs:float"></xs:element>
should work at least. But it's a very, very, VERY, VERY, VEWY, VEWY,
VEWYVEWYVEWY dirty workaround and you'll got to hell for this or even
worse!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48717
--
Edit this bug report at http://bugs.php.net/?id=48717&edit=1