Hi Scott, hi Wim,
I've also checked out the hello.ds examples and tried to understand how this example works. As I understand the host has to provide specific server properties within the service component. And as far as I understand these properties will trigger ECF to make a service remotely available (I didn't really get what exactly happens here). In my XMPP case I've changed the example to: <property name="service.exported.interfaces" type="String" value="*"/> <property name="service.exported.configs" type="String" value="ecf.xmpp.smack"/> <property name="org.eclipse.ecf.containerFactoryArgs" type="String" value=" jabber-server.de" />
If I got you right Scott I do no longer need to create an instance of IContainer like I did before:
IContainer container = ContainerFactory.getDefault().createContainer(protocol); XMPPID xmppid = new XMPPID(container.getConnectNamespace(), userName + "@" + server); IConnectContext connectContext = ConnectContextFactory.createUsernamePasswordConnectContext(userName, password); container.connect(xmppid, connectContext);
But how do I now provide with DS username and password in order to be able to connect to a server?
On the client side the hello.ds.consumer bundle only describes that it requires an IHello service. But I was not able to find out how the service is configured: server url, username, password.
It would be grate if you could help me solving these problems.
Regards, Eugen
Am Jun 13, 2010 um 19:10 schrieb Wim Jongman: Hi Eugen,
The host side uses DS. I have not yet blogged about this but the main bundle can be found in the same directory as the 'quote.consumer' bundle and is named o.e.e.examples.quotes
If you check-out this project, you will find an additional psf file that can be used to get the bundles that use DS to expose their services.
You can also use the 'helloworld.ds' examples as Scott pointed out.
Give me a ping if you require more help.
Regards,
Hi Wim,
Hence it is still not clear for me how to use ECF remote services with DS. In my special case I try to use ECF remote services with XMPP.
Regards, Eugen
_______________________________________________ ecf-dev mailing list ecf-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ecf-dev
|