depend on 5.3?
marvil07 - September 14, 2009 - 22:44
| Project: | Dokeos Integration |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | soap |
Jump to:
Description
I have a problem when I try to load an invalid url for the soap service.
I mean, we have to make a try/catch on any SoapClient object creation(I do it before testing), but AFAIK it's still not enough because there is a warning from another lib(?? see the thread).
Take a look to this thread: http://www.mail-archive.com/internals@lists.php.net/msg37442.html (originallly from php-dev list, but mail archive is easier to read :p)
It finish talking about a commit disabling warnings on PHP 5.3.
So, do you think it's needed to make this dependency a requirement?
If no, are you sure you want to show a message like:
Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://<url>/main/webservices/user_info.soap.php?wsdl' : failed to load external entity "http://<url>/main/webservices/user_info.soap.php?wsdl" in /<path-to-drupal>/modules/dokeos/dokeos.module on line 322
#1
PHP 5.3 +1