|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57866 binding.soap: alphabetical order of namespaces causes failure
Submitted: 2007-10-07 12:22 UTC Modified: 2008-04-25 12:41 UTC
From: Assigned: fulmar (profile)
Status: Closed Package: SCA_SDO (PECL)
PHP Version: 5.2.1 OS: WinXP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2007-10-07 12:22 UTC]

If the namespace used in the XSD that describes SDOs in an interface comes earlier in the alphabet than the namespace of the WSDL that describes the interface then SCA fails. 

_getSoapOperationSdo in proxy.php. Tries to get the SDO for the operation using the line:
$xdoc = $xmldas->createDocument($method_name);

No namespace is provided hence SDO pickes the first RootType. If it happens to pick the RootType for the data types rather than the RootType for the operation names (as it is defined first) then it fails to find $method_name as a child of the RootType. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-29 14:43 UTC]
Definitely needs fixing. I've created a test case to reproduce , now to fix.
 [2007-11-30 06:38 UTC]
Fixed by scanning the output from the das to find the namespace then passing along with the method name.
 [2008-04-25 12:41 UTC]
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

Matthew says this is in the 1.2.4 release
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 14:03:33 2022 UTC