From: ddonovan at villagepress dot com Operating system: Linux (fedora C3) PHP version: 5CVS-2005-02-28 (dev) PHP Bug Type: SOAP related Bug description: Cannot create SoapClient object from WSDL
Description: ------------ I can parse the .WSDL file and call the functions using nuSOAP, but not using PHP5. It has also been shown to work with JAVA/AXIS and .NET. I need the WSDL caching functionality of the PHP5 SOAP procedures otherwise I might stick with nuSAOP. Note that in the error message there should be another word between "unexpeted" and "in complexType", but there is not. Reproduce code: --------------- <?php $url='http://mySoapServer/WebSvc.wsdl'; $s = new SoapClient($url);//line #17 as ref'd in error ?> Expected result: ---------------- A useable instance of a SoapClient object. Actual result: -------------- Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected in complexType in /var/www/html/phpSOAP.html:17 Stack trace: #0 /var/www/html/phpSOAP.html(17): SoapClient->__construct('http://10.0.0.1...', Array) #1 {main} thrown in /var/www/html/phpSOAP.html on line 17 -- Edit bug report at http://bugs.php.net/?id=32141&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32141&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32141&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32141&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32141&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32141&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32141&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32141&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32141&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32141&r=support Expected behavior: http://bugs.php.net/fix.php?id=32141&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32141&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32141&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32141&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32141&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32141&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32141&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32141&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32141&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32141&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32141&r=mysqlcfg