php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42359 xsd:list type not parsed
Submitted: 2007-08-21 09:54 UTC Modified: 2007-08-31 10:49 UTC
From: dennis at d23 dot nl Assigned: dmitry (profile)
Status: Closed Package: SOAP related
PHP Version: 5.2.4RC2 OS: Linux FC7
Private report: No CVE-ID: None
 [2007-08-21 09:54 UTC] dennis at d23 dot nl
Description:
------------
The xsd:list type is not parsed (correctly) from a WSDL. These types are frequently present in wsdl's generated from .NET, but might also be present in WSDL's from other sources.

The list type represents an element which contains multiple space seperated values. (http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#dt-list)


Reproduce code:
---------------
/** WSDL : http://www.d23.nl/soaplist/listTest.wsdl */

<?php
	ini_set('soap.wsdl_cache_enabled', 0);	
	$soap = new SoapClient("http://www.d23.nl/soaplist/listTest.wsdl");
	print_r($soap->__getTypes());
?>


Expected result:
----------------
Array
(
    [0] => string listItem
    [1] => string enumItem
    [2] => enumItem listItem2
)


Actual result:
--------------
Array
(
    [0] => anyType listItem
    [1] => string anonymous
    [2] => string enumItem
    [3] => anyType listItem2
)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-21 11:35 UTC] jani@php.net
Assigned to the SOAP extension maintainer.
 [2007-08-31 10:49 UTC] dmitry@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC