David, Yes , it's exactly what I do. But the service tracker doesnt get me anything back. In this case I suppose it should give me back a client proxy on the web service ?
I must also say that the web service is behind a proxy. Thanks David Bosschaert wrote: > > Hi Pierre, > > Not sure I fully understand your setup but it seems like this is > pretty much exactly what happens in the Greeter Demo [1]. > > This demo does not use any discovery but reads the configuration of > the remote service from a remote-services.xml file that is part of the > client bundle [2]. The client obtains the service simply with a > service tracker, see the client Activator [3]. > > Isn't that what you want too? See if you can get this demo to work... > > > Cheers, > > David > > [1] http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html > or in the source tree: > http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter/ > [2] > http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter/client/src/main/resources/OSGI-INF/remote-service/remote-services.xml > [3] > http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter/client/src/main/java/org/apache/cxf/dosgi/samples/greeter/client/Activator.java > > On 27 January 2011 14:10, Pierre-Henry Perret <[email protected]> wrote: >> >> >> >> The LOG of dsw shows that it is ALREADY proxyed: >> ___________________________________________________ >> >> INFO: Notified - AVAILABLE: [org.myproject.webservices.xx.Monitor] >> endpoint >> id: b58e9dfa-0294-4f74-9389-06188e89cb2b >> 27 janv. 2011 15:06:55 org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook >> unknownEndpointId >> INFO: registering proxy for endpoint ID: >> b58e9dfa-0294-4f74-9389-06188e89cb2b >> 27 janv. 2011 15:06:55 org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook >> cacheEndpointId >> INFO: caching proxy registration for endpoint ID: >> b58e9dfa-0294-4f74-9389-06188e89cb2b >> 27 janv. 2011 15:06:55 org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook >> lookupDiscoveryService >> _____________________________ >> >> The question is: how to GET back this service ? >> With RSA ? >> >> >> >> ----- >> -- >> Pierre >> -- >> View this message in context: >> http://cxf.547215.n5.nabble.com/How-to-use-a-locally-registered-remote-service-tp3359606p3359759.html >> Sent from the cxf-user mailing list archive at Nabble.com. >> > > ----- -- Pierre -- View this message in context: http://cxf.547215.n5.nabble.com/How-to-use-a-locally-registered-remote-service-tp3359606p3361630.html Sent from the cxf-user mailing list archive at Nabble.com.
