Excellent - thanks Azeez for the good information. I will check all this out and post any further
questions I may have.

Afkham Azeez wrote:
With WSO2 Carbon [1], which is powered by Apache Axis2, you can deploy OSGi bundles as Web services. However, with the current implementation, in the META-INF directory of the bundle, you need to include the Axis2 services.xml file. This is how the administration Web services in Carbon are deployed.

We are in the process of writing service listeners which listen for certain OSGi service properties. e.g. if your OSGi bundle contains a JAXWS service, the Axis2 JAXWS deployer needs to be called. So in your JAXWS service bundle, you will need to register an OSGi service with a special property, say serviceType=jaxws. The OSGi service listener will call the relevant deployers. This feature will be available next week.

In the mean time, you could check out the WSO2 WSAS 3.0-beta release [2] which is based on the WSO2 Carbon framework. You can drop your OSGi Web services bundles into the $CARBON_HOME/webapps/ROOT/WEB-INF/plugins directory.

To run Carbon with the OSGi console enabled, $CARBON_HOME/bin/wso2server.sh -DosgiConsole

Thanks
Azeez

1. http://wso2.org/projects/carbon
2. http://wso2.org/projects/wsas/java

On Wed, Dec 31, 2008 at 12:49 PM, Demetris G <[email protected] <mailto:[email protected]>> wrote:


    Hi all,

    what is the current state of OSGi and Web Services? I remember
    back in May
    there were some emails flying around regarding this but I have not
    seen an update
    ever since. I will appreciate any more info on it.

    Thanks and good wishes for the New Year




--
Thanks
Afkham Azeez

Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Reply via email to