|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57629 Complex type structure is generated in the wsdl when not required.
Submitted: 2007-04-23 11:34 UTC Modified: 2017-01-10 08:06 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-04-23 11:34 UTC]
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">

The actual method is:

     * @return simpleraffleticket (a simple raffleticket object)
	function enterSimpleRaffle()

		return "Winner";


with the following in the xsd:

    <simpleType name="simpleraffleticket">
		<restriction base="string">
			<enumeration value="Winner"/>

As the method takes no parameters, the following line in the wsdl could be generated instead:

      <xs:element name="enterSimpleRaffle"/>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:06 UTC]
-Status: Assigned +Status: Suspended -Assigned To: mfp +Assigned To:
 [2017-01-10 08:06 UTC]
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 19:01:28 2024 UTC