Hi All,

I have captured the XML message when using the Beagle Web. From this XML, I 
tried to write an XML Schema. The XSD file is attached, what do you think about 
this schema ? Is it well written ?
Then, I used Jaxb to generate the Java Binding Classes (ResponseWrapper.java).

In SearchManager.java, it's a sample to use the API with Java.

Stéphane

-----Message d'origine-----
De : Joe Shaw [mailto:j...@joeshaw.org] 
Envoyé : lundi 22 février 2010 15:27
À : zze-BLB JEANJEAN S ext RD-BIZZ-SOP
Cc : dashboard-hackers@gnome.org
Objet : Re: Beagle XML/Unix API

Hi,

On Mon, Feb 22, 2010 at 8:57 AM,  <sjeanjean....@orange-ftgroup.com> wrote:
> Is there any documentation about the Beagle XML/Unix API, please ? I 
> think it's used by the web user interface.

There's no documentation for it, sadly.  Generally apps should use either the 
C# classes or one of the C-based language bindings.  If you're looking to 
implement a client library yourself, building it on top of the C one is the 
easiest as it is an easily-bindable GObject-based API.

If you can't go one of these routes for whatever reason, your best bet is to 
look at the C code itself.  It's fairly simply broken into request and response 
classes, and I think the XML generation in it is pretty clean:

http://git.gnome.org/browse/beagle/tree/libbeagle/beagle

The socat tool might also be helpful to you, as you can wedge yourself in as a 
man-in-the-middle and watch the traffic going by.

Joe

*********************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.
********************************

_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Reply via email to