php.net |  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: slaws@php.net Assigned: fulmar (profile)
Status: Closed Package: SCA_SDO (PECL)
PHP Version: 5.2.1 OS: WinXP
Private report: No CVE-ID: None
 [2007-10-07 12:22 UTC] slaws@php.net
Description:
------------
binding.soap:

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. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-29 14:43 UTC] mfp@php.net
Definitely needs fixing. I've created a test case to reproduce , now to fix.
 [2007-11-30 06:38 UTC] mfp@php.net
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] cem@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/SCA_SDO

Matthew says this is in the 1.2.4 release
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC