<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
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()? <br>
<br>
[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.]<br>
<br>
---rony<br>
<br>
<br>
<br>
On 17.07.2011 13:02, rony wrote:
<blockquote cite="mid:4E22C13A.40702@wu.ac.at" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Using the openmoko introspection file and using e.g. the method
org.freedesktop.Notifications.GetServerInformation() yields an
org.freedesktop.DBus.Error.UnknownMethod on Ubuntu.<br>
<br>
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 ... ?<br>
<br>
(There are no means to communicate version or deprecation information
via the introspection file.)<br>
<br>
Still, is there a place where the official org.freedesktop
introspection files can be downloaded?<br>
<br>
---rony<br>
<br>
<br>
On 17.07.2011 11:44, rony wrote:
<blockquote cite="mid:4E22AEEC.9070503@wu.ac.at" type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
Maybe this is a quesiton which should be directed to Ubuntu, maybe
there is a rule someplace, that I have not found so far.<br>
<br>
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:<br>
<blockquote>
<pre><!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"</a>>
<node>
<node name="org"/>
</node>
</pre>
</blockquote>
Googling a little bit yields e.g. <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://wiki.openmoko.org/wiki/Org_freedesktop_Notifications._org_freedesktop_Notifications"><http://wiki.openmoko.org/wiki/Org_freedesktop_Notifications._org_freedesktop_Notifications></a>,
which
is
from
2008. So there are the introspect xml files, just not on
the Ubuntu installation?<br>
<br>
Or are there other reasons, that can explain this observation?<br>
<br>
---<br>
<br>
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?<br>
<br>
---rony<br>
</blockquote>
</blockquote>
<br>
</body>
</html>