Axis2 - Overview. Agenda What is already there Overall Architecture Core AXIOM WSDL Deployment...

25
Axis2 - Overview

Transcript of Axis2 - Overview. Agenda What is already there Overall Architecture Core AXIOM WSDL Deployment...

Page 1: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Axis2 - Overview

Page 2: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Agenda

What is already there Overall Architecture Core AXIOM WSDL Deployment Client API

What is yet to come Encoding – Pluggable data binding Other transports

Page 3: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Overall Architecture of Axis2

Page 4: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Introduction to the terminology

Inflow – The sequence of event that happens when a message is received

Outflow - The sequence of event that happens when a message is sent out

Page 5: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Core

Core consist of the following Handler Framework Message Context Registry Engine

Page 6: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Core (cont…)

The relationship of the Core components is as follows

Page 7: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Core :: Message Context

Container for the SOAP message and related information.

Other components such as engine and handlers are stateless

Page 8: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Core:: Handler Framework

Handlers are the “execution units” Always works with a message context Handlers can be executed in the inflow

and the outflow 3 basic categories – Transport, Global and

Service Phases are logical handler collections

Ordered at the server startup Handlers are ordered in Phases

Depending on the phase rules defined in the service descriptor

Page 9: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Core:: Handler Framework (cont..)

Special handlers Receiver

Receives messages Is used to call the provider component

Sender Sends message Invokes the outflow handler chain

Dispatcher Finds the service

Page 10: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Core :: Registry

Keeper for the Services Dispatcher works on the Registry Is filled by the deployment

mechanism.

Page 11: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Core :: Engine

The “Controller” Stateless! State is kept in the Message

Context

Page 12: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

How the Axis2 core works

Example Axis2 animation on the server side in-out message flow

Page 13: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

AXIOM

The SOAP info set representation Tightly bound to StAX Features differed building

Page 14: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

AXIOM :: SOAP Implementation

Layered on AXIOM base classes Tight coupling Version support on 1.1 SOAP based builders based on StAX

Page 15: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

WSDL

The WSDL handling mechanism New Object model

WOM(WSDL Object Model)

Page 16: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Deployment

The new Archive format Hot deployment

Page 17: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Deployment :: Service Archive

Axis archive – .aar file. A jar file with all the service classes and

the service description Can be uploaded through the web or

directly through the file system. Service description included in the

service.xml

Page 18: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Client API

Facility for Synchronous / Asynchronous invocations

Supported styles In-out sync In-out async (response on the same

channel) In-Only

Page 19: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

What is yet to come?

Messaging based core MTOM support for AXIOM Pluggable data binding Multiple transports

Page 20: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

MTOM Support

MTOM support for AXIOM Introduction of New Object - OMBlob MIME / XOP aware builder

Page 21: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Message based core

The current core is visibly not message centric

Add a messageSender and a messageReceiver ?

Page 22: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Transport

SMTP/POP support

Page 23: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Data binding

Pluggable Encoding / Data binding support XMLBeans JAXB Castor

Page 24: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Questions ?

Page 25: Axis2 - Overview. Agenda  What is already there Overall Architecture Core AXIOM WSDL Deployment Client API  What is yet to come Encoding – Pluggable.

Thank you