getting all objects by a service

Thiago Macieira thiago at kde.org
Mon Apr 28 03:41:42 PDT 2008


On Monday 28 April 2008 11:59:26 thomas wrote:
> My Use Case, thats a long story. I tried to combine d-bus service with
> web services so that you can use local services as web services.
> Therefor I transform the introspect into an wsdl data. The endpoint of
> the service is an url to the server with the asked object. Example: the
> asked object is com/example/calObject so the url is
> http://localhost/com/example/calObject. Now if a Request is send to the
> url then I have to call the service that provides this object to send
> the request to this Objcet. And therefor i need a way to find a service
> by an object. My solution was to check all service if there is such an
> objcet and then use it. Is there a better way?

Yes. Encode the service name somewhere.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080428/fe477443/attachment-0001.pgp 


More information about the dbus mailing list