Hello,

I want to import a ws (http://somewhere/service?wsdl) in a framework. To do
so , I have the dosgi bundle in my framework and have created a bundle with
a simple OSGI-INF/remote-service/remote-services.xml description file with
that in it:
___________________________________

<service-descriptions xmlns="http://www.osgi.org/xmlns/sd/v1.0.0";>
        <service-description>
                <provide interface="org.somewhere.services.ServiceImported" />
                <property name="osgi.remote.interfaces">*</property>
                <property
name="osgi.remote.configuration.type">org.apache.cxf.ws</property>
                <property
name="osgi.remote.configuration.pojo.address">http://somewhere/service?wsdl</property>
        </service-description>

</service-descriptions>
______________________________________________________

When I start the framework with this bundle I have this log:
________________________________

INFO: Notified - AVAILABLE: [org.somewhere.services.ServiceImported]
endpoint id: 1db373ef-c64f-42da-8f12-c4117ac95a3e
12 janv. 2011 20:29:47 org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook
unknownEndpointId
INFO: registering proxy for endpoint ID:
1db373ef-c64f-42da-8f12-c4117ac95a3e
12 janv. 2011 20:29:47 org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook
cacheEndpointId
INFO: caching proxy registration for endpoint ID:
1db373ef-c64f-42da-8f12-c4117ac95a3e
___________________________________________

This means that the service is registered in the OSGi framework . But when I
want to use this service, with an @Requires, It gives no result: no error
(npe...) nor log message.

Any idea ?

-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Importing-a-WebService-as-an-OSGi-service-tp3338703p3338703.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to