karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <Achim.Nierb...@ptv.de>
Subject AW: Has anyone ever used Karaf like this?
Date Wed, 03 Nov 2010 17:13:04 GMT
Discovering by means of discovering CXF/DOSGi remote services, or just "wrapping" existing
services within an environment. "Discovering" local services and publishing, yes after those
services had their special properties set. Remote Services not yet, just used this for publishing
WSDL and connection with other non OSGi clients :)

The publishing just needs the following lines if used with either blueprint or spring-dm

<entry key="service.exported.interfaces" value="*" />
<entry key="service.exported.configs" value="org.apache.cxf.ws" />
<entry key="org.apache.cxf.ws.databinding" value="jaxb" /> 
<entry key="org.apache.cxf.ws.frontend" value="jaxws" />
<entry key="org.apache.cxf.ws.address" value="http://localhost:8888/service-name" />

If you are using jaxb, remember that you can't serialize java.util.Map objects, you have to
provide a wrapper for that :)

For running within Karaf you just have to make shure you have all required bundles installed,
we didn't use the single-bundle stuff from CXF since this interferes with some of the provided
bundles of the Karaf. (or at least we didn't knew whom to blame :) )
You can take the single-bundle as a reference of what needs to be deployed within the Karaf.


Greetings, Achim 

-----Urspr√ľngliche Nachricht-----
Von: Ioannis Canellos [mailto:iocanel@gmail.com] 
Gesendet: Mittwoch, 3. November 2010 17:42
An: dev@karaf.apache.org
Betreff: Re: Has anyone ever used Karaf like this?

Thanks Achim.

Have you ever used CXF/DOSGi discovery?


On Wed, Nov 3, 2010 at 6:36 PM, Achim Nierbeck <Achim.Nierbeck@ptv.de>wrote:

> I used c) (CXF) partially :)
> Works quite well for providing soap web services on top of OSGi services.
>
> Greetings, Achim
>
> -----Urspr√ľngliche Nachricht-----
> Von: Ioannis Canellos [mailto:iocanel@gmail.com]
> Gesendet: Mittwoch, 3. November 2010 17:31
> An: dev@karaf.apache.org
> Betreff: Has anyone ever used Karaf like this?
>
> I was wondering if anyone has used Karaf in the following cases:
>
> a) Embeded in a google app engine war.
> b) On Amazon EC2
> c) With DOSGi (CXF or iPojo).
>
> If so please share your experiences.
> --
> *Ioannis Canellos*
> http://iocanel.blogspot.com
> Integration Engineer @ Upstream S.A. <http://www.upstreamsystems.com>
>



-- 
*Ioannis Canellos*
http://iocanel.blogspot.com
Integration Engineer @ Upstream S.A. <http://www.upstreamsystems.com>

Mime
View raw message