Bundle: ksoap-osgi
Version 2.0.0

kSOAP OSGi

This is an OSGi bundlification of the lean kSOAP2 Java SOAP library.

The bundle is part of the The Knopflerfish kSOAP package.

Description

The kSOAP OSGi bundle is bundle wrapper around the kSOAP 2 Java SOAP library that provides a SOAP server that is much smaller than those based on Axis 1 or Axis 2. The size of the kSOAP bundle is only 138 kb.

The ksoap-osgi bundle offers the ability to export services, registered on the OSGi framework service registry, as SOAP services. It should be noted that for this to work the exported objects must not expose any data types not supported by SOAP. 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.ksoap.KSoapAdmin.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. If not set, or set to the value * then all methods in the registered classes are exposed as web service methods. If set to a string with space separated method names, only those methods will be exposed as web service methods. As a convenience org.knopflerfish.service.ksoap.KSoapAdmin.SOAP_SERVICE_METHODS is a String constant that holds this service property name.

To learn more about kSOAP please visit http://ksoap2.sourceforge.net/.

See Also

SOAP - WebServices

Jar docs

ksoap-osgi_all-2.0.0

Exported Packages

org.ksoap2
org.ksoap2.serialization
org.ksoap2.transport
org.knopflerfish.service.ksoap