ID: 49094 User updated by: kelvin at netbasic dot co dot uk Reported By: kelvin at netbasic dot co dot uk -Status: Open +Status: Closed Bug Type: SOAP related Operating System: Centos 4.7 and 5.3 PHP Version: 5.3.0 New Comment:
Hi Guys I've tested the latest snapshot and it appear to fix this, I believe its related to this bug http://bugs.php.net/bug.php?id=49014. Previous Comments: ------------------------------------------------------------------------ [2009-07-29 08:11:22] kelvin at netbasic dot co dot uk 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 this bug report at http://bugs.php.net/?id=49094&edit=1
