Question: why empty introspeciton files from org.freedesktop.Notifications and the like ? Repository of org.freedesktop introspection files available ?

rony rony at wu.ac.at
Sun Jul 17 04:02:18 PDT 2011


Using the openmoko introspection file and using e.g. the method
org.freedesktop.Notifications.GetServerInformation() yields an
org.freedesktop.DBus.Error.UnknownMethod on Ubuntu.

So it is probable that supplying an introspection file without
interfaces is intentional, because e.g. that service is deprecated (?),
but still important to be available or that its internals got changed,
but the public should not know of it, or ... ?

(There are no means to communicate version or deprecation information
via the introspection file.)

Still, is there a place where the official org.freedesktop introspection
files can be downloaded?

---rony


On 17.07.2011 11:44, rony wrote:
> Maybe this is a quesiton which should be directed to Ubuntu, maybe
> there is a rule someplace, that I have not found so far.
>
> When using Introspect e.g. on org.freedesktop.Notifications in a
> session connection, the data that gets returned does not possess any
> interface descriptions, but rather:
>
>     <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
>     "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
>     <node>
>       <node name="org"/>
>     </node>
>       
>
> Googling a little bit yields e.g.
> <http://wiki.openmoko.org/wiki/Org_freedesktop_Notifications._org_freedesktop_Notifications>,
> which is from 2008. So there are the introspect xml files, just not on
> the Ubuntu installation?
>
> Or are there other reasons, that can explain this observation?
>
> ---
>
> Maybe another question related to introspection xml-files: are the
> org.freedesktop-DBUS-introspection files available via the web? If so,
> where? If not, where can one retrieve those introspection files to all
> of the org.freedesktop-DBUS services?
>
> ---rony
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110717/464637fd/attachment.html>


More information about the dbus mailing list