|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-01 14:59 UTC] oamblet at vmware dot com
[2009-04-28 18:44 UTC] jani@php.net
[2009-05-06 01:00 UTC] php-bugs at lists dot php dot net
[2011-02-11 08:23 UTC] ujl at topdanmark dot dk
[2011-07-19 18:33 UTC] abel dot silva at gmail dot com
[2012-05-11 11:40 UTC] patkoscsaba at syneto dot net
[2012-08-20 02:00 UTC] bkfake-php at yahoo dot com
[2012-08-20 02:02 UTC] aharvey@php.net
-Status: No Feedback
+Status: Open
[2013-03-09 12:32 UTC] lucky_tomov at hotmail dot com
[2017-11-16 04:24 UTC] chris at golfclub dot com dot au
[2018-02-02 20:41 UTC] info at tirus dot eu
[2018-07-13 15:43 UTC] code at joshua-behrens dot de
[2019-12-04 10:13 UTC] karol dot wegner at netcall dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 14:00:01 2025 UTC |
Description: ------------ the __getTypes() function return a list of structs which represents the various types from the parsed WSDL. However, the inherited attributes are not listed in the struct. It becomes hard to introspect a WSDL file with this __getTypes() give this limitation. Reproduce code: --------------- Given this WSDL fragment: ... <xs:element name="Entry" type="tns:Entry"/> <xs:element name="ManagedEntry" type="tns:ManagedEntry"/> <xs:complexType name="ManagedEntry"> <xs:complexContent> <xs:extension base="tns:Entry"> <xs:sequence> <xs:element minOccurs="0" name="id" type="xs:string"/> <xs:element minOccurs="0" name="stringRepresentation" type="xs:string"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Entry"> <xs:sequence> <xs:element minOccurs="0" name="name" type="xs:string"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="tns:EntryProperty"/> <xs:element minOccurs="0" name="type" type="xs:string"/> </xs:sequence> </xs:complexType> ... <?php $client = new SoapClient("http://x.x.x.x/echo?WSDL"); $client->__getTypes(); ?> Expected result: ---------------- [ struct ManagedEntry { string id; string stringRepresentation; string name; EntryProperty properties; string type; }, struct Entry { string name; EntryProperty properties; string type; } ] Actual result: -------------- [ struct ManagedEntry { string id; string stringRepresentation; }, struct Entry { string name; EntryProperty properties; string type; } ]