Yes,

my idea was to create a common class for Moodle and SugarCRM that
handles the REST calls similar to what nuSOAP does.

So actually the only place where you need to change something would be
the openmeetings_gateway.php

instead of: $client_userService = new nusoap_client(...)
my idea was something like: $client_userService = new
openmeetings_rest_service("URL")

And creating a class "openmeetings_rest_service"
with the methods:
call(params...)
getError()

And actually you can replace then simply nusoap_client with
openmeetings_rest_service 1:1

Sebastian

2011/12/22 Eugen Schwert <[email protected]>:
> Hello Sebastian,
>
> thank you for Information. I will try to replace the SOAP-Calls with REST
> in:
>
> https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/sugarcrm/6.x.x/SugarModules/modules/conf_openmeetnigs/openmeetings_gateway/openmeetings_gateway.php
>
> or
>
> https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/plugins/sugarcrm/6.x.x/SugarModules/modules/conf_openmeetnigs/openmeetings_gateway/openmeetingsRoomManagament.php
>
> Eugen
>
> 2011/12/22 [email protected] <[email protected]>
>
>> Hi Eugen,
>>
>> we currently use the nuSOAP library in the Moodle and SugarCRM plugin.
>> Before we can release those plugins as Apache Incubator Packages we
>> will need to replace the nuSOAP library as its a LGPL lib and I think
>> we can't redistribute that as part of an Apache release.
>>
>>
>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/sugarcrm/6.x.x/SugarModules/modules/conf_openmeetnigs/openmeetings_gateway/lib/
>>
>> I think we could implement a simple REST client that uses the php_curl
>> extension to perform the necessary API calls to OpenMeetings. So that
>> we have an almost 1:1 replacement of the nuSOAP lib with our new
>> implementation.
>>
>> Other possibility would be to use existing hooks of Moodle and
>> SugarCRM, what do you think?
>>
>> Sebastian
>> --
>> Sebastian Wagner
>> http://www.openmeetings.de
>> http://incubator.apache.org/openmeetings/
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> [email protected]
>>



-- 
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

Reply via email to