Helo Mike.

There is something I do not understand in the client part.

the method *retval = azy_client_call(cli, content, tr,
(Azy_Content_Cb)azy_value_to_T_AllTypes); *call the server.

*azy_value_to_T_AllTypes(Azy_Value *azy_value_struct, T_AllTypes *
*azy_user_type) *seems to be the method call when the client receive the
response. I suppose the call is aynchrone.



Why this method does not have a content as parameter ? The server can send a
content with a of struct/string... no ?

About *azy_user_type*, why this parameter ? An other callback is called
after *azy_value_to_T_AllTypes*() ?

When I use *azy_client_call(), can I add a data and retrieve it when I work
on the response ? (in **azy_value_to_T_AllTypes()**)*



2010/12/30 Atton Jonathan <jonathan.at...@gmail.com>

> I have missed the directory tests :-
>
> ok I will do some tests and call back later :)
>
>
> 2010/12/30 Mike Blumenkrantz <m...@zentific.com>
>
>> On Thu, 30 Dec 2010 14:00:11 -0500
>> Atton Jonathan <jonathan.at...@gmail.com> wrote:
>>
>> > Hello Nike.
>> >
>> > Have you a simple example of server and client ?
>> >
>> > In fact I need:
>> >
>> >    - call a service with string arguments
>> >    - send a eet file. Can we easily send a eet file ? By using the eet
>> >    descriptor or I will need to describe a copy in the azy descriptor ?
>> Or
>> >    maybe I can send a array of bytes ?
>> >
>> >
>> > 2010/12/30 Mike Blumenkrantz <m...@zentific.com>
>> >
>> > > On Thu, 30 Dec 2010 15:44:04 +0100
>> > > Nicolas Aguirre <aguirre.nico...@gmail.com> wrote:
>> > >
>> > > > On Thu, Dec 30, 2010 at 3:36 PM, Atton Jonathan
>> > > > <jonathan.at...@gmail.com> wrote:
>> > > > > Hello people,
>> > > > >
>> > > > > I plan to write a webservice  (in XML) with EFL, the server side
>> and
>> > > the
>> > > > > client side.
>> > > > >
>> > > > > Is there in the EFL some library which can help me ?
>> > > > >
>> > > > > --
>> > > > > Regards.
>> > > > >
>> > >
>> ------------------------------------------------------------------------------
>> > > > > Learn how Oracle Real Application Clusters (RAC) One Node allows
>> > > customers
>> > > > > to consolidate database storage, standardize their database
>> > > environment,
>> > > > > and, should the need arise, upgrade to a full multi-node Oracle
>> RAC
>> > > database
>> > > > > without downtime or disruption
>> > > > > http://p.sf.net/sfu/oracle-sfdevnl
>> > > > > _______________________________________________
>> > > > > enlightenment-devel mailing list
>> > > > > enlightenment-devel@lists.sourceforge.net
>> > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> > > > >
>> > > >
>> > > > You should take a look at azy (PROTO/azy). If I'm not mistaken is
>> > > > exactly what you need.
>> > > >
>> > > This is correct, however please note that Azy is under heavy
>> development
>> > > and so
>> > > some features are not currently implemented.  If you want to do XMLRPC
>> by
>> > > spec
>> > > (http://xmlrpc.org), then this will work flawlessly for you with no
>> > > further
>> > > work.  If not, I'll need you to send me more information about what
>> you
>> > > intend
>> > > to do.
>> > >
>> > > --
>> > > Mike Blumenkrantz
>> > > Zentific: We run the three-legged race individually.
>> > >
>> >
>> >
>> >
>> src/tests/ has some example server/client examples of varying complexity.
>>
>> It sounds like Azy will suit your needs.  I will have to add the mime type
>> for
>> eet (application/eet I guess?) so that it can parse the header properly,
>> but
>> aside from that you should be able to implement the client using
>> azy_client_call (method calls) and azy_client_send (eet data in raw
>> bytes).
>>
>> One thing to note is that Azy adheres extremely strictly to the XMLRPC
>> standard, so if you use a client/server which "fudges" the XML structure
>> at all
>> you will probably run into errors.
>>
>> --
>> Mike Blumenkrantz
>> Zentific: We run the three-legged race individually.
>>
>
>
>
> --
> Regards.
>



-- 
Regards.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to