Introduction of Axis2
1.1 Introduction to Axis2
The axis framework comes from the Apache open source organization, which is an open source implementation of the latest SOAP specification (SOAP 1.2) and SOAP withattachments specification (from Apache Group) based on the Java language. There are many popular development tools that use axis as their implementation support for Web services, such as JBuilder and the famous Eclipse Java plug-in lomboz. The latest version of axis can be downloaded from http://ws.apache.org/axis/index.html.
Download down directly after decompression can be used. The following figure is the architecture diagram for the axis core engine:
The entire axis project includes the following sections:
• Message Flow Subsystem
The message Flow subsystem provides a flexible messaging framework that includes handlers, chains, serializers, and deserialization programs. A handler is an object that handles requests, responses, and fault streams. Handlers can be grouped together into chains, and the order of these handlers can be configured using a flexible deployment descriptor.
• Transmission Frame Subsystem
Provides a transport framework that can help you create your own pluggable transport transmitters and transport listeners.
• Data Coding Subsystem
Axis provides automatic serialization of various data types in accordance with the XML Schema specification and provides functional extension interfaces to use your own custom serializers and deserialization.
U Other
Axis fully supports WSDL as well as logging, error, and fault handling mechanisms. It also provides tools for translating WSDL documents into client-side invocation frameworks and generating WSDL definition documents based on classes.
The standards currently supported by Axis are: the consortium SOAP1.1 and 1.2;WSDL 1.1;saaj 1.1 (Sun: SOAP with Attachments APIs for Java); Jax-RPC (Sun: Java apifor XM l-based RPC) 1.0.
1.2 How to choose to use AXIS2 and other webservice in development projects
2 If your application needs to support multiple languages that have C + +,. NET, Java, you should choose Axis2.
2 If the application follows the spring philosophy route, APACHECXF or spring ws is a better choice, especially for embedded Web Services.