Re: Beagle XML/Unix API & Java

Its too much effort to verify the xsd file :-). But it looks
consistent with whatever I remember about the xml structure of hits. I
like the idea of generating the parser from the schema - this way
future changes (!) could be easily incorporated. I wish we had used a
schema based approach for our C# and C API as well ... given that our
messages are strictly XML messages. (Ok, I think I remember why we
don't use auto-generated classes from XML for C#).

- dBera

On Mon, Mar 1, 2010 at 6:10 AM,  <sjeanjean ext orange-ftgroup com> wrote:
> 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.
> Stéphane
> -----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
> Hi,
> 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.
> 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

Debajyoti Bera @
beagle / KDE fan
Mandriva / Inspiron-1100 user

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