Bug #66042 [Com]: Reponse Mapping with column name "count"

From: Date: Thu, 07 Nov 2013 08:53:42 +0000
Subject: Bug #66042 [Com]: Reponse Mapping with column name "count"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182625@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66042&edit=1 ID: 66042 Comment by: dominik dot zogg at gmail dot com Reported by: dominik dot zogg at gmail dot com Summary: Reponse Mapping with column name "count" Status: Open Type: Bug Package: SOAP related Operating System: Linux and OSX PHP Version: 5.5.5 Block user comment: N Private report: N New Comment: I forgot to say, that the same code worked with php 5.3 Previous Comments: ------------------------------------------------------------------------ [2013-11-07 08:52:12] dominik dot zogg at gmail dot com Description: ------------ it seems (testet on 3 maschines, 2 ubuntu, 1 osx with macports), that the soap client got a problem mapping a result to a classmap if the property calls count. <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><aggregateResponse><aggregateResult><count>348</count></aggregateResult></aggregateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> within the class the property count got value null public $count => NULL Expected result: ---------------- I would expect i get: public $count => 348 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66042&edit=1

« previous php.bugs (#182625) next »