From:             dennis at d23 dot nl
Operating system: Linux FC7
PHP version:      5.2.4RC2
PHP Bug Type:     SOAP related
Bug description:  xsd:list type not parsed

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 bug report at http://bugs.php.net/?id=42359&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42359&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42359&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42359&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42359&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42359&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42359&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42359&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42359&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42359&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42359&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42359&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42359&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42359&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42359&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42359&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42359&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42359&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42359&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42359&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42359&r=mysqlcfg

Reply via email to