From: dmittner at llnw dot com Operating system: Gentoo PHP version: 5.2.5 PHP Bug Type: SOAP related Bug description: SOAP-ERROR: Parsing WSDL
Description: ------------ Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute. C# generated WSDL. I saw an older bug with similar characteristics, but that was 4 years old, supposedly resolved, and on a different OS. Several validators I tried are able to consume the WSDL. Reproduce code: --------------- <?php $wsdl = "http://gpn.webservice.gomez.com/GpnProvisioningService/ProvisioningWS.asmx?wsdl"; $soap = new SoapClient($wsdl,array("trace"=>true,"features"=>SOAP_SINGLE_ELEMENT_ARRAYS)); ?> Expected result: ---------------- No explicit output. Actual result: -------------- Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute in /home/dmittner/temp.php:3 Stack trace: #0 /home/dmittner/temp.php(3): SoapClient->SoapClient('http://gpn.webs...', Array) #1 {main} thrown in /home/dmittner/temp.php on line 3 -- Edit bug report at http://bugs.php.net/?id=44686&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44686&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44686&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44686&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44686&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44686&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44686&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44686&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44686&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44686&r=support Expected behavior: http://bugs.php.net/fix.php?id=44686&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44686&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44686&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44686&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44686&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44686&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44686&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44686&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44686&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44686&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44686&r=mysqlcfg