From: Operating system: Ubuntu PHP version: 5.2.13 Package: SOAP related Bug Type: Bug Bug description:SOAP-ERROR: Parsing WSDL: Couldn't load from
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 bug report at http://bugs.php.net/bug.php?id=51407&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51407&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51407&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51407&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51407&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51407&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51407&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51407&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51407&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51407&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51407&r=support Expected behavior: http://bugs.php.net/fix.php?id=51407&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51407&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51407&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51407&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51407&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51407&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51407&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51407&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51407&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51407&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51407&r=mysqlcfg