Axis2 - Overview. Agenda What is already there Overall Architecture Core AXIOM WSDL Deployment...
-
Upload
morris-davis -
Category
Documents
-
view
221 -
download
0
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/1.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/2.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/3.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/4.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/5.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/6.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/7.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/8.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/9.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/10.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/11.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/12.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/13.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/14.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/15.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/16.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/17.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/18.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/19.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/20.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/21.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/22.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/23.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/24.jpg)
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.](https://reader033.fdocuments.us/reader033/viewer/2022051316/5697bf911a28abf838c8e890/html5/thumbnails/25.jpg)
Thank you