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:13:58 PDT 2011
Sorry, if wasting bandwidth, as I have found out that the object to
address had to be "/org/freedesktop/Notifications" and not "/". Then
introspection and invocation of methods works as expected.
Still another question: are there general rules whether a "default
object path" should exist and what the format of such a "default object
path" should be, in the case that one cannot research/find out what the
object path should be in order to call Introspect()?
[So far I had wrongly assumed a root path "/", but it could also be the
case that the bus name is used, where the dots get replaced by slashes
plus inserting a slash at the beginning of the object path.]
---rony
On 17.07.2011 13:02, rony wrote:
> 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/164bcccd/attachment.html>
More information about the dbus
mailing list