|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchessoap-gettypes-enumeration (last revision 2011-08-25 04:07 UTC by datibbaw)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2025-06-04 15:47 UTC] nielsdos@php.net
[2025-06-04 15:47 UTC] nielsdos@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: nielsdos
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 17:00:01 2025 UTC |
Description: ------------ The __getTypes() method helps to serve as a reference when writing SOAP consumer code, which is very useful. However, enumeration types in WSDL aren't supported properly; they're printed as only the enumeration base type (which is usually 'string' in my case). Test script: --------------- <xsd:simpleType name="PersonaMemberType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="NEW"/> <xsd:enumeration value="LIMITED"/> <xsd:enumeration value="FREE"/> <xsd:enumeration value="PAID_ACTIVE"/> <xsd:enumeration value="TRIAL_ACTIVE"/> <xsd:enumeration value="PAID_EXPIRED"/> <xsd:enumeration value="TRIAL_EXPIRED"/> </xsd:restriction> </xsd:simpleType> Expected result: ---------------- string PersonaMemberType {NEW,LIMITED,FREE,PAID_ACTIVE,TRIAL_ACTIVE,PAID_EXPIRED,TRIAL_EXPIRED} Actual result: -------------- string PersonaMemberType