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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dominik dot zogg at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 13:01:28 2025 UTC