felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clement Escoffier <clement.escoff...@gmail.com>
Subject Re: Requires ws interface
Date Tue, 11 Jan 2011 06:43:14 GMT
Hi,

On 10.01.11 15:07, "Pierre Henry Perret" <phperret@gmail.com> wrote:

>Clement,
>
>If I understand correctly, it means that if I have somewhere a WS i.e
>http://somwhere/webservice , the dosgi cxf implementation allows to
>'import'
>this ws in the OSGi framework as a registered service in my framework,
>here
>Felix, with as simple a configuration as:
>___________________________
><service-descriptions xmlns="http://www.osgi.org/xmlns/sd/v1.0.0">
><service-description>
><provide interface="my.package.app.Service" />
><property name="service.exported.interfaces">*</property>
><property name="service.exported.configs">
>org.apache.cxf.ws
>    </property>
><property name="org.apache.cxf.ws.address">
>http://smoewhere/webservice
></property>
><property name="sevice.imported">true</property>
></service-description>
></service-descriptions>
>________________________
>
>After reading that service description there will be a registered OSGi
>service in the framework that is a proxy for the webservice.
>
>Is that correct?

I'm not a dosgi expert, but I would say yes. Did you check the post post I
sent you?

Regards,

Clement


>
>
>
>2011/1/5 Clement Escoffier <clement.escoffier@gmail.com>
>
>> Hello,
>>
>> On 04.01.11 23:52, "Pierre Henry Perret" <phperret@gmail.com> wrote:
>>
>> >Hello,
>> >
>> >Is it possible to require (@Requires) a web service ?
>>
>> Not directly, but you can import the web service as an OSGi service
>>using
>> distributed osgi (http://cxf.apache.org/distributed-osgi.html and
>> 
>>http://blog.akquinet.de/2009/09/14/distributed-osgi-application-with-apac
>>he
>> -cxf-dosgi/).
>>
>> Once imported as a 'plain' OSGi service, the @Requires works out of the
>> box.
>>
>> Regards,
>>
>> Clement
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message