#42359 [Opn->Asn]: xsd:list type not parsed

From: Date: Tue, 21 Aug 2007 11:35:42 +0000
Subject: #42359 [Opn->Asn]: xsd:list type not parsed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-116405@lists.php.net to get a copy of this message
ID: 42359 Updated by: jani@php.net Reported By: dennis at d23 dot nl -Status: Open +Status: Assigned Bug Type: SOAP related Operating System: Linux FC7 PHP Version: 5.2.4RC2 -Assigned To: +Assigned To: dmitry New Comment: Assigned to the SOAP extension maintainer. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#116405) next »