Re: XML UI protocol description
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WHo_ccsbX+ExG490OPd+Ew-Rg7YhCjpX+r7KiJceUX1Ag@mail.gmail.com> |
There is certainly "something" for what the 4gl code expects back from the UI :
aubit4glsrc/lib/libui/ui_xml/uilib/xml/triggers.dtd
contains the DTD its expecting..
For whats sent forward from the 4gl to the UI - I think the easiest
way is to look at the C# code :
http://aubit4gl.svn.sourceforge.net/viewvc/aubit4gl/trunk/remote_ui/C%23/AubitDesktop/samp.cs?revision=890&view=markup
I'm let to beleive you can extract xsd/dtd from a serialized c# object
like this - but I've not tried recently
Let me know if that would help and I'll give it a go..
Its mostly fairly straightforward..
The 4gl program emits an XML stream the UI reads.
The UI responds with a TRIGGERED packet with the event ID and some data..
Actually coding it in a useful UI for anything thats non-trivial
though is "non-trivial"..
By that - I mean - if you want to be able to handle all current 4gl
constructs - its not easy - but if you have a specific app - and you
want a custom front end - for example - with something like a POS
system - that shouldn't be too hard!
On 22 August 2012 14:57, Bernd Gollesch <[email protected]> wrote:
> Hi,
>
> is there a description of the xml protocol used for the ui available? I
> searched for hours but came up with nothing.
>
> --
> with kind regards, Ing. Bernd Gollesch
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~ AIT - Angewandte Informationstechnik Forschungsgesellschaft mbH ~
> ~ Klosterwiesgasse 32/I; 8010 Graz; Austria ~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/