|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-03 08:16 UTC] kelvin at netbasic dot co dot uk
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
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