#42359 [Asn->Csd]: xsd:list type not parsed
ID: 42359
Updated by: dmitry@php.net
Reported By: dennis at d23 dot nl
-Status: Assigned
+Status: Closed
Bug Type: SOAP related
Operating System: Linux FC7
PHP Version: 5.2.4RC2
Assigned To: dmitry
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-08-21 11:35:42] jani@php.net
Assigned to the SOAP extension maintainer.
------------------------------------------------------------------------
[2007-08-21 09:54:12] 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
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42359&edit=1
Thread (3 messages)