RE: Beagle XML/Unix API & Java

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 (

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


-----Message d'origine-----
De : Joe Shaw [mailto:joe joeshaw org] 
Envoyé : lundi 22 février 2010 15:27
Cc : dashboard-hackers gnome org
Objet : Re: Beagle XML/Unix API


On Mon, Feb 22, 2010 at 8:57 AM,  <sjeanjean ext 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:

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.


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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]