ID: 47624
User updated by: akshah123 at hotmail dot com
Reported By: akshah123 at hotmail dot com
-Status: Feedback
+Status: Open
Bug Type: SOAP related
Operating System: Linux
PHP Version: 5.3.0
New Comment:
The sample WSDL:
http://pastie.org/612742
I am getting this error with another php script i run on a different
servers. I have been able to reproduce this error on several machines
with php version ranging from 5.2.2 to
5.3.0
Previous Comments:
------------------------------------------------------------------------
[2009-09-07 20:22:18] sjoerd@php.net
Thank you for your bug report.
Could you please supply us with a piece of WSDL describing the array?
Also, which client are you using which gives this error?
If I understand correctly, the problem occurs with the soapenc:array
type and the Axis 1 SOAP library.
------------------------------------------------------------------------
[2009-09-01 21:26:28] akshah123 at hotmail dot com
Hello,
I have confirmed that this issue is in 5.3.0 and 5.2.10.
------------------------------------------------------------------------
[2009-03-20 15:06:49] akshah123 at hotmail dot com
Is there any additional information that I can provide to perhaps
speed up the process to resolve this ticket?
------------------------------------------------------------------------
[2009-03-11 14:49:18] akshah123 at hotmail dot com
Description:
------------
It seems that instead of string, new version of PHP (5.2.9) has
<key xsi:type="xsd:int">884385070380</key>
as opposed to for old version of PHP (5.2.2) returning
<key xsi:type="xsd:string">884385070380</key>
for arrays in SOAP services.
This causes the client to throw a soap fault error with "SOAP-ERROR:
Encoding: Can't decode apache map, only Strings or Longs are allowd
as keys".
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47624&edit=1