#49094 [NEW]: Can't parse WSDL

From: Date: Wed, 29 Jul 2009 08:11:22 +0000
Subject: #49094 [NEW]: Can't parse WSDL
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140418@lists.php.net to get a copy of this message
From: kelvin at netbasic dot co dot uk Operating system: Centos 4.7 and 5.3 PHP version: 5.3.0 PHP Bug Type: SOAP related Bug description: Can't parse WSDL Description: ------------ PHP 5.3 is having issues parsing the WSDL for certain webservices and throwing an exception stating there is additional content at the end, but the same webservice works in 5.2.10. Reproduce code: --------------- <?php $url = "https://ews31.marketing.ews.yahooapis.com:443/services/V5/CampaignService?wsdl"; echo "Start client.."; $client = new SoapClient($url); echo "Finish client.."; ?> Expected result: ---------------- Start client.. Finish client.. Actual result: -------------- Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://ews31.marketing.ews.yahooapis.com:443/services/V5/CampaignServi ce?wsdl' : Extra content at the end of the document in /usr/local/apache/htdocs/t2.php:7 Stack trace: #0 /usr/local/apache/htdocs/t2.php(7): SoapClient- >SoapClient('https://ews31.m...', Array) #1 {main} >thrown in /usr/local/apache/htdocs/t2.php on line 7 -- Edit bug report at http://bugs.php.net/?id=49094&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49094&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49094&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49094&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49094&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49094&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49094&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49094&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49094&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49094&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49094&r=support Expected behavior: http://bugs.php.net/fix.php?id=49094&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49094&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49094&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49094&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49094&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49094&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49094&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49094&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49094&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49094&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49094&r=mysqlcfg

« previous php.bugs (#140418) next »