php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75747 Types have missing properties on SoapClient::__getTypes
Submitted: 2017-12-30 13:18 UTC Modified: 2017-12-30 13:31 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: iripvanwinkle at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 7.2.0 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
18 + 46 = ?
Subscribe to this entry?

 
 [2017-12-30 13:18 UTC] iripvanwinkle at gmail dot com
Description:
------------
I include common schema, and this schema use only for included in other schemas.

When I call SoapClient::__getTypes it return types with missing properties.


Expected result:
----------------
struct User {
 int Amount;
 string CurrencyCode;
}

Actual result:
--------------
struct User {
}

Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-12-30 13:31 UTC] iripvanwinkle at gmail dot com
Example: https://gist.github.com/iRipVanWinkle/1313a4b86004d2bc1ca6cf0c64c5e8dd
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Apr 12 16:01:23 2021 UTC