php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51407 SOAP-ERROR: Parsing WSDL: Couldn't load from
Submitted: 2010-03-26 21:50 UTC Modified: 2017-03-01 13:38 UTC
Votes:28
Avg. Score:4.3 ± 0.8
Reproduced:21 of 25 (84.0%)
Same Version:6 (28.6%)
Same OS:5 (23.8%)
From: rachel dot makrucki at gmail dot com Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.2.13 OS: Ubuntu
Private report: No CVE-ID: None
 [2010-03-26 21:50 UTC] rachel dot makrucki at gmail dot com
Description:
------------
made a copy of our store to my local machine and receive error of SOAP-ERROR: 
Parsing WSDL: Couldn't load from 'removed site name': failed to load external 
entity "removed sitename';

The module runs perfectly fine on a Ubuntu server running php 5.2.4


Checked to make sure that WSDL could be accessed from web browser. 



Test script:
---------------
   ini_set("soap.wsdl_cache_enabled", "0"); 
    $wsdl = "http://www.usafa.org/WebService/RaisersEdge.asmx?wsdl";
    $params = array(
                'strConstID' => $strConstID,
            );


try {
 $client = new SoapClient($wsdl);
} catch (Exception $e) {
echo '<pre>';
   print_r($e);
echo '</pre>';
}

try {
    $result = $client->VerfiyMembership($params);
    $membership = $result->VerfiyMembershipResult;
} catch (Exception $f) {
    echo 'Caught exception: ',  $f->getMessage(), "\n";
}




    unset($client);
    return $membership;

Expected result:
----------------
return a boolean variable 

Actual result:
--------------
Caught exception: SOAP-ERROR: Parsing WSDL: Couldn't load from 
'http://www.usafa.org/WebService/RaisersEdge.asmx?wsdl' : failed to load external 
entity "http://www.usafa.org/WebService/RaisersEdge.asmx?wsdl" 
Fatal error: Call to a member function VerfiyMembership() on a non-object in 
/var/www/drupal-6.16/sites/store/modules/uc_membership/uc_membership.module on 
line 214

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-23 08:57 UTC] kwak053 at naver dot com
i have the same problem. i figure it out to resolve that problem but i couldn't find exactly solution. did you solve it? i am still looking for the answer anbout the same error like yours. there are just comment which not the answer.
if you know, please send me the way how to solve it to kwak053@naver.com
 [2011-11-07 17:04 UTC] will dot fitch at gmail dot com
Is this still relevant? When i visit the WSDL location, it's a 404.
 [2017-03-01 06:10 UTC] info dot kcorp at gmail dot com
Hi, just put a slash character between 'asmx' and '?' in "http://www.usafa.org/WebService/RaisersEdge.asmx?wsdl"

Ref: http://asanamuz.ir/wp/?p=131
 [2017-03-01 13:38 UTC] requinix@php.net
-Status: Open +Status: No Feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 06:01:28 2024 UTC