When I use use a remote url in the osgi.remote.configuration.pojo.address
property of remote-service.xml , DOSGI effectively creates the proxy:
_________________________________________________________________
objectClass = org.energetic.webservices.bd.HardwareMonitor
org.apache.cxf.remote.dsw.client = Distributed OSGi Distribution Software
Single-Bundle Distribution, version : 1.1.0.SNAPSHOT
osgi.remote.configuration.pojo.address =
http://xx.yy.zz.pp/webservice/service.php?class=hardwareMonitor
osgi.remote.configuration.type = org.apache.cxf.ws
osgi.remote.endpoint.id = f28309f1-36bc-48f3-9244-d9122e8a91e1
osgi.remote.interfaces = *
osgi.remote.service.interfaces = <unknown value type>
service.id = 52
service.imported = true
service.imported.configs = org.apache.cxf.ws
______________________________________________________

But when I try to get the service with the objectClass, noting appear :
___________________________________________________________

    public void start(final BundleContext context) throws Exception {
        st = new ServiceTracker(context, HardwareMonitor.class.getName(),
new ServiceTrackerCustomizer() {

            public void removedService(ServiceReference reference, Object
service) {
                // TODO TBD Follow the spec; nothing for now

            }

            public void modifiedService(ServiceReference reference, Object
service) {
                // TODO TBD If b&d modifies her service, what do we do ?

            }

            public Object addingService(ServiceReference reference) {
                Object svc = context.getService(reference);
                if (svc instanceof HardwareMonitor) {
                    printServiceInfo((HardwareMonitor)svc);
                }
                return null;
            }

        });
        
        st.open();
    }
________________________________________________________

Is ther sthg wrong ?

Thanks

-----
--
Pierre
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/DOSGI-remote-web-service-tp3349822p3349822.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to