Hi Mathias,

I took a look at SOAP yesterday and got a good idea how it functions. It
could definitely do the job but _is_ pretty complex and has
functionality we should not need (e.g. routing). However, it seems
pretty versatile and extending it from the Agent API to Agent<->Server
communication should be easy. For example, the Agent occasionally polls
the server for a list of active resources (e.g. tunnels). This kind of
responses should be easy to wrap into a SOAP message. One potential
problem with SOAP is that each endpoint has to be either a client (doing
queries) or a server (answering queries). Also, would need to add
authentication information into SOAP messages if we extend it's use to
Agent<->Server communication.

I have no personal preference over SOAP or REST. Mathias, do you think
could we easily extend REST into Agent<->Server communication, too?

Samuli

 





> Hi all,
>
>
>
> I'm more or less sure that we should use REST for the client API.
>
>
>
> It is based on HTTP and URIs which should be able to use by any client
>
> software and programming language. The only thing that we must decide is
>
> what the payload should look like. We could transfer any kind of data
>
> using
>
> REST, e.g. XML, JSON, plaintext, bytecode, etc.
>
>
>
> I think the two most usefull formats would be XML or JSON with a
>
> preference (by me) of XML.
>
>
>
> Then we would have the power of XML messages but a little less overload of
>
> the communication compared to SOAP.
>
>
>
> But that's only one of the many ways to go...
>
>
>
> Best regards,
>
>
>
> Matthias Jansen
>
>
>
>
>
> On Wed, 16 Dec 2009 09:51:18 +0200, "[email protected]"
>
> <[email protected]> wrote:
>
>   
>> Hi all,
>>     
>
>   
>
>   
>> The next Agent API meeting is held on the #adito IRC channel at
>>     
>
>   
>> freenode.net next Saturday at 2:30PM CET. More information about Agent
>>     
>
>   
>> API is available here:
>>     
>
>   
>
>   
>> http://sourceforge.net/apps/trac/openvpn-als/wiki/agent_api
>>     
>
>   
>
>   
>
>   
>> Samuli
>>     
>
>   
>
>   
>
> ------------------------------------------------------------------------------
>
>   
>> This SF.Net email is sponsored by the Verizon Developer Community
>>     
>
>   
>> Take advantage of Verizon's best-in-class app development support
>>     
>
>   
>> A streamlined, 14 day to market process makes app distribution fast and
>>     
>
>   
>> easy
>>     
>
>   
>> Join now and get one step closer to millions of Verizon customers
>>     
>
>   
>> http://p.sf.net/sfu/verizon-dev2dev 
>>     
>
>   
>> _______________________________________________
>>     
>
>   
>> Openvpn-als-devel mailing list
>>     
>
>   
>> [email protected]
>>     
>
>   
>> https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel
>>     
>
>
>
>   


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Openvpn-als-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-als-devel

Reply via email to