Posts

Showing posts from April, 2009

Asynchronous Web Service & WS Security With Axis2 & Rampart

Image
Introduction Apache Axis2 is designed to support the easy addition of plug in “modules” that extend the functionality such as security. The addressing module is the one that provide the asynchrony to the web services and Rampart is the security module for Axis2. Getting Started We will start with a simple service that has an operation called “TestMethod” which will return a String. To test the asynchronous behavior, the current thread was delayed for ten seconds. Service class implementation is given below. The service descriptor for the above method as follows (servi...