php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66042 Reponse Mapping with column name "count"
Submitted: 2013-11-07 08:52 UTC Modified: -
From: dominik dot zogg at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.5.5 OS: Linux and OSX
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-11-07 08:52 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-07 08:53 UTC] dominik dot zogg at gmail dot com
I forgot to say, that the same code worked with php 5.3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC