O'Reilly logo

Apache Axis2 Web Services Second Edition by Afkham Azeez, Deepal Jayasinghe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Axis2 contexts

The Axis2 context hierarchy is the runtime data representation of Axis2. Runtime data comes into the picture only when Axis2 receives a message, (unlike descriptions). The runtime data is used to share data across multiple invocations or among the handlers in one invocation. When we were discussing the description hierarchy, we talked about how parameters act as the main configuration mechanism. In context, the main configuration or data sharing mechanism is the use of Properties. Unlike parameters, we do not need to define properties anywhere, as we can create them on-the-fly and use them. Properties are stored as name-value pairs in the context hierarchy. Hence, if we add a property to the context, then that property can be accessed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required