Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Remote OSGi services

Hi Scott,

as you already guessed right I'm passing a roster ID to the remote service because that's the only one I have. If this is the wrong way than how do I get the container ID for an IRosterEntry object?

BTW Scott I've checked my remote provisioning source code in. If you would like to run the prototype I can send you a brief how to or drop it in a documentation folder.

Regards,
Eugen

Am 17.06.2008 um 18:10 schrieb Scott Lewis:

Hi Eugen,

It may be that you are not using the correct ID in the filter. For XMPP, the userID/rosterID is not the same as the remote clients containerID. What ID are you passing into the filter?

This may be something we ultimately need to remedy in the XMPP provider...but I'm not sure yet whether that makes sense.

Scott

Eugen Reiswich wrote:
Hi ecf-devs,

I have some problems with the ECF Remote OSGi services. Somehow the filter mechanism using ID[] array doesn't work for me and I wonder whether this is a bug or my incompetence. I try to get some remote services for some IDs that I provide as parameter:

IRemoteServiceContainerAdapter remoteServiceContainerAdapter = (IRemoteServiceContainerAdapter) this.containter
.getAdapter(IRemoteServiceContainerAdapter.class);

IRemoteServiceReference[] refs = remoteServiceContainerAdapter
.getRemoteServiceReferences(*filterIDs*, service.getName(),
null);

Although I've provided some filterIDs as a parameter the IRemoteServiceReference-array containes more services than I expect him to have. There are even some IRemoteServiceReference- references to clients which are not on my contacts list (but they exist on my XMPP server).

Any help would be appreciated but I know that with Ganymede you guys are busy.

Regards,
Eugen


--------------------------------------------------------------------- ---

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev


_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top