Bundle: axis2-osgi
Version 1.3

Axis2 OSGi

This is an OSGi bundlification of a standard Axis2 server.
The version used for this bundle is identical to the version of the Axis2 implementation that it contains.

The bundle is part of the The Knopflerfish Axis 2 package.

Description

In order to export a service object as a SOAP service, the only thing needed is to set a property named "SOAP.service.name" on the registered service. As a convenience org.knopflerfish.service.axis2.Axis2Admin.SOAP_SERVICE_NAME is a String constant that holds this name. The property value should be of type java.lang.String and its value will be used as the name of the exposed SOAP service.

The set of service methods exported from a service with the SOAP.service.name property set can be controlled via another service property named, SOAP.service.methods.

As a convenience org.knopflerfish.service.axis2.Axis2Admin.SOAP_SERVICE_METHODS is a String constant that holds this service property name.

Web Services exported by the axis2-osgi bundle will have URLs on the form:

   http://localhost:8080/axis2/services/<SOAP_SERVICE_NAME>

To view the WSDL for a specific Web Service visit the URL:

   http://localhost:8080/axis2/services/<SOAP_SERVICE_NAME>?wsdl

To explore all web services provided by the axis2-osgi bundle the following URL may be used.

   http://localhost:8080/axis2admin/

Note: The standard method in the Axis 2 web application to view all service, visiting the URL http://localhost:8080/axis2/listServices does not work in axis2-osgi since it requires full WAR-support with JSP handling which is not supported by the Knopflerfish HTTP server.

The code to make all this work consist of just a few quite small classes (not counting all Axis classes) so it is quite easy to get an overview of the porting effort. However it took some time experimenting and studying the Axis code to make this work, so some of the code may be harder to understand.

Note: The axis-osgi bundle depends on the commons-logging bundle to be installed an started. Further if your JRE does not support an XML parser you need to provide that as well (e.g Xerces).

The axis-osgi.jar file is quite large due to the contained axis2 jar files, even though some axis2 libraries are removed. For details and axis2 licenses, see contents of /WEB-INF/lib/ inside the axis2-osgi.jar-file.

See Also

SOAP - WebServices

Jar docs

axis2-osgi_all-1.3

Exported Packages

org.knopflerfish.service.axis2
edu.emory.mathcs.backport.java.util
edu.emory.mathcs.backport.java.util.concurrent
edu.emory.mathcs.backport.java.util.concurrent.atomic
edu.emory.mathcs.backport.java.util.concurrent.helpers
edu.emory.mathcs.backport.java.util.concurrent.locks
javax.mail
javax.mail.event
javax.mail.internet
javax.mail.search
javax.mail.util
javax.wsdl.extensions
javax.wsdl.extensions.http
javax.wsdl.extensions.mime
javax.wsdl.extensions.schema
javax.wsdl.extensions.soap
javax.wsdl.extensions.soap12
javax.wsdl.factory
javax.wsdl.xml
javax.xml.soap
javax.xml.stream
javax.xml.stream.events
javax.xml.stream.util
org.apache.axiom.attachments
org.apache.axiom.attachments.utils
org.apache.axiom.om
org.apache.axiom.om.impl.llom
org.apache.axiom.om.util
org.apache.axiom.om.xpath
org.apache.axiom.soap
org.apache.axis2
org.apache.axis2.addressing
org.apache.axis2.client
org.apache.axis2.client.async
org.apache.axis2.context
org.apache.axis2.databinding
org.apache.axis2.databinding.i18n
org.apache.axis2.databinding.typemapping
org.apache.axis2.databinding.types
org.apache.axis2.databinding.utils
org.apache.axis2.databinding.utils.reader
org.apache.axis2.databinding.utils.writer
org.apache.axis2.description
org.apache.axis2.engine
org.apache.axis2.rpc.receivers
org.apache.axis2.rpc.receivers.ejb
org.apache.axis2.transport
org.apache.axis2.transport.http
org.apache.axis2.transport.local
org.apache.axis2.transport.mail
org.apache.axis2.transport.nhttp
org.apache.axis2.transport.tcp
org.apache.axis2.util
org.apache.commons.fileupload
org.apache.commons.fileupload.disk
org.apache.commons.fileupload.portlet
org.apache.commons.fileupload.servlet
org.apache.commons.httpclient
org.apache.commons.httpclient.auth
org.apache.commons.httpclient.cookie
org.apache.commons.httpclient.methods
org.apache.commons.httpclient.methods.multipart
org.apache.commons.httpclient.params
org.apache.commons.httpclient.protocol
org.apache.neethi
org.apache.neethi.builders
org.apache.neethi.builders.xml
org.apache.neethi.util
org.apache.ws.commons.schema
org.apache.ws.commons.schema.constants
org.apache.ws.commons.schema.extensions
org.apache.ws.commons.schema.resolver
org.apache.ws.commons.schema.utils
org.codehaus.annogen.generate
org.codehaus.annogen.override
org.codehaus.annogen.view
org.codehaus.jam
org.codehaus.jam.annotation
org.codehaus.jam.mutable
org.codehaus.jam.provider
org.codehaus.jam.visitor
org.codehaus.jam.xml