Project:Chamilo integration
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Issue tags:soap

Issue Summary

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

Comments

#1

PHP 5.3 +1

#2

Project:Dokeos Integration» Chamilo integration
Version:6.x-1.x-dev» 7.x-1.x-dev

#3

Agreed to disabling PHP 5.3 warnings as a requirement for the module, at least until we move to REST services (at which time the warning will not be triggered anymore, anyway).

#4

BTW Web service client can help us to forgot that problems :-)

nobody click here