cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "phperret@gmail.com" <phper...@gmail.com>
Subject How to use a locally registered remote service
Date Thu, 27 Jan 2011 12:23:41 GMT

A statically discovered <service-description> is registered in a local
framework:
____________________________________________
INFO: Notified - AVAILABLE: [org.myproject.webservices.yyy.Monitor] endpoint
id: 984b7c00-044d-4433-927d-638c9a657e1a
27 janv. 2011 12:00:53 org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook
unknownEndpointId
INFO: registering proxy for endpoint ID:
984b7c00-044d-4433-927d-638c9a657e1a
27 janv. 2011 12:00:53 org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook
cacheEndpointId
INFO: caching proxy registration for endpoint ID:
984b7c00-044d-4433-927d-638c9a657e1a
____________________________________________

The single bundle dosgi cxf distrib shows at inspection:
____________________________________________
objectClass = org.myproject.webservices.yyy.Monitor
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.tt//webservice/service.php?wsdl
osgi.remote.configuration.type = wsdl
osgi.remote.endpoint.id = 984b7c00-044d-4433-927d-638c9a657e1a
osgi.remote.interfaces = *
osgi.remote.service.interfaces = <unknown value type>
service.id = 13
service.imported = true
service.imported.configs = wsdl
________________________________________


So I could simply GET this service with a tracker or other mecanisms -
iPOJO, DS,...

But I tried with a ServiceTracker and  couldn't get any reference to this
service.

Are there specific version of bundles to use, I mean compendium-4.2 with
cxf-dosgi-1.1 ....?

Or what else ....?

Thanks

-----
--
Pierre
-- 
View this message in context: http://cxf.547215.n5.nabble.com/How-to-use-a-locally-registered-remote-service-tp3359606p3359606.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message