#47624 [Opn->Fbk]: SOAP response has int type for a key value that is out of range

From: Date: Mon, 07 Sep 2009 20:22:18 +0000
Subject: #47624 [Opn->Fbk]: SOAP response has int type for a key value that is out of range
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142077@lists.php.net to get a copy of this message
ID: 47624 Updated by: sjoerd@php.net Reported By: akshah123 at hotmail dot com -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: Linux PHP Version: 5.3.0 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#142077) next »