|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-01-10 08:06 UTC] kalle@php.net
-Status: Assigned
+Status: Suspended
-Assigned To: mfp
+Assigned To:
[2017-01-10 08:06 UTC] kalle@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
Description: ------------ The wsdl generated for a method that returns a simple type defined in the xsd but takes no parameters is as follows: <xs:element name="enterSimpleRaffle"> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> </xs:element> The actual method is: /** * @return simpleraffleticket http://www.test.com/info (a simple raffleticket object) */ function enterSimpleRaffle() { return "Winner"; } with the following in the xsd: <simpleType name="simpleraffleticket"> <restriction base="string"> <enumeration value="Winner"/> </restriction> </simpleType> As the method takes no parameters, the following line in the wsdl could be generated instead: <xs:element name="enterSimpleRaffle"/>