[ingo] Ingo backends driver for SOAP requests

Jan Schneider jan at horde.org
Tue Jan 24 18:10:28 UTC 2012


Zitat von Evilchen <evilchen at bellosbude.de>:

> Zitat von Jan Schneider <jan at horde.org>:
>
>>
>> Zitat von Evilchen <evilchen at bellosbude.de>:
>>
>>> Hello together,
>>>
>>> i want to write a backend for Ingo that makes it possible to  
>>> communicate with an ISPconfig installation. ISPconfig gives me an  
>>> SOAP API to make, edit, update and delete maildrop (or other)  
>>> filters but in the moment i can't see an option to make horde talk  
>>> with ISPconfig.
>>>
>>> So i have to make me such an option. But it seems, ingo has no  
>>> SOAP driver capabilities in the moment?
>>
>> No.
>>
>>> would you see any chances for me to add one?
>>
>> Sure.
>>
>>> or have you any hints for me, that makes my work easier? i'm not  
>>> so fine with php and that makes it not better for me ;)
>>
>> Do I understand it correctly that you just need this driver to get  
>> the actual script to the server via SOAP? I.e. the actual rules  
>> script is a regular script for Maildrop, Procmail, etc?
>>
>> Then you "just" need to implement an Ingo_Transport_Soap class.  
>> Take a look at the existing classes for examples. You basically  
>> need to implement the setScriptActive() and getScript() methods.
>>
>> Jan.
>
> Yes it's correct that i just need a backend to submit the regular  
> script for Maildrop to the SOAP API. Thx for the tips with the  
> classes. I'll give it a try.
> I will hopefully post something here in the future.

Oh and you might also want to get inspiration by the Horde classes  
that already use SOAP, like:
http://git.horde.org/co.php/passwd/lib/Driver/Soap.php?onb=master&rt=horde-git
http://git.horde.org/co.php/framework/Rpc/lib/Horde/Rpc/Soap.php?onb=master&rt=horde-git

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the ingo mailing list