ID:               40099
 Updated by:       [EMAIL PROTECTED]
 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:

We have a test for #30045 and it works perfectly fine here.
php-src/ext/soap/tests/bugs/bug30045.phpt
Please provide short but complete reproduce case, so that we can test
it and see the problem ourselves.


Previous Comments:
------------------------------------------------------------------------

[2007-01-11 14:45:28] phpbugs at henrik dot synth dot no

I sniffed the SOAP call with tcpdump, here's the result:


Host: my.host:8080
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.0
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 367

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://com.my.ws/Domain";><SOAP-ENV:Header><ns1:sessionId>1</ns1:sessionId></SOAP-ENV:Header><SOAP-ENV:Body><ns1:myFunction><Long_1>2147483647</Long_1></ns1:myFunction></SOAP-ENV:Body></SOAP-ENV:Envelope>

------------------------------------------------------------------------

[2007-01-11 13:48:47] [EMAIL PROTECTED]

Cannot reproduce.

------------------------------------------------------------------------

[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

Reply via email to