Bug #51407 [Com]: SOAP-ERROR: Parsing WSDL: Couldn't load from
| From: | kwak053 at naver dot com | Date: | Wed, 23 Mar 2011 07:57:59 +0000 |
| Subject: | Bug #51407 [Com]: SOAP-ERROR: Parsing WSDL: Couldn't load from | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159717@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51407&edit=1
ID: 51407
Comment by: kwak053 at naver dot com
Reported by: rachel dot makrucki at gmail dot com
Summary: SOAP-ERROR: Parsing WSDL: Couldn't load from
Status: Open
Type: Bug
Package: SOAP related
Operating System: Ubuntu
PHP Version: 5.2.13
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2010-03-26 21:50:53] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51407&edit=1