...
XML element | Attributes | Description | Default value | Mandatory/Optional | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<axisconfig> | name | The root element. The name is defined as: name="AxisJava2.0" | Mandatory | ||||||||
<module> | ref | A globally engaged module. The ref attribute specifies the module name. | Mandatory | ||||||||
<parameter> |
| A parameter is a name-value pair. All top-level parameters (those that are direct sub-elements of the root element) will be transformed into properties in AxisConfiguration and can be accessed in the running system. The name attribute (required) specifies the parameter name. If you set the locked attribute to true (default is false), this parameter's value cannot be overridden by services and other configurations. | Mandatory | ||||||||
<listener> | class | A registered listener that will be automatically informed whenever a change occurs in AxisConfiguration, such as when a service or module is deployed or removed. The class attribute specifies this listener's implementation class, which must implement the AxisObserver interface.Registering listeners is useful for additional features such as RSS feed generation, which will provide service information to subscribers. | Optional | ||||||||
<messageReceivers> | The container element for messages receiver definitions. | Mandatory | |||||||||
<messageReceiver> |
| A message receiver definition. The class attribute (required) specifies the message receiver implementation class. The mep attribute (required) specifies the message exchange pattern supported by this message receiver. Each message receiver definition supports only one MEP. | Mandatory | ||||||||
<messageFormatters> | The container element for message formatter definitions, which are used to serialize outgoing messages to different formats (such as JSON). The format for a message can be specified by setting the "messageType" property in the MessageContext. It can also be specified as a parameter in service.xml (for service-based configuration) in addition to axis2.xml (for global configuration). | Optional | |||||||||
<messageFormatter> |
| A message formatter definition. The contentType attribute specifies which message types are handled by this formatter, and the class attribute specifies the formatter implementation class. | Optional | ||||||||
<messageBuilders> | The container element for the message builder definitions, which are used to process the raw payload of incoming messages and convert them to SOAP. | Optional | |||||||||
<messageBuilder> |
| A message builder definition. The contentType attribute specifies which message types are handled by this builder, and the class attribute specifies the builder implementation class. | Optional | ||||||||
<transportReceiver> |
| A transport receiver definition, one for each transport type. The name attribute specifies the short name to use when referring to this transport in your configurations (http, tcp, etc.), and the class attribute specifies the receiver implementation class that provides the logic for receiving messages via this transport. You can specify <parameter> elements to pass any necessary information to the transport. | Mandatory | ||||||||
<transportSender> | Just like <transportRecevier> , except <transportSender> allows you to define transport senders, which are used to send messages via the transport. | Mandatory | |||||||||
<phaseOrder> | type | Specifies the order of phases in the execution chain of a specific type of flow (specified by the
You add phases using the | Mandatory | ||||||||
<phase> | name | The phase definition. The name attribute specifies the phase name. You can add the <handler> sub-element to execute a specific handler during this phase. | Mandatory | ||||||||
<handler> |
| The handler (message processing functionality) to execute during this phase. Handlers are combined into chains and phases to provide customizable functionality such as security, reliability, etc. Handlers must be multi-thread safe and should keep all their state in Context objects (see the org.apache.axis2.context package). | Optional | ||||||||
<order> | phase | Optional | |||||||||
<clustering> |
| Used to enable clustering. The class attribute specifies the clustering agent class. The enable attribute is false by default; set it to true to enable clustering. | Optional | ||||||||
<property> | Optional | ||||||||||
name | |||||||||||
value | |||||||||||
_ _<members> | The list of static or well-known members. These entries will only be valid if the "membershipScheme" above is set to "wka" | N/A | Optional | ||||||||
_ _ _<member> | N/A | Optional | |||||||||
_ _ _ _<hostName> | N/A | Optional | |||||||||
_ _ _ _<port> | N/A | Optional | |||||||||
_ _<groupManagement> | Enable the groupManagement entry if you need to run this node as a cluster manager. Multiple application domains with different GroupManagementAgent implementations can be defined in this section. | Optional | |||||||||
<enableMTOM> | locked | Enables Message Transmission Optimization Mechanism (MTOM) for HTTP messages.
| False | Optional | |||||||
enable | False | ||||||||||
_ _ _<applicationDomain> | N/A | Optional | |||||||||
name | |||||||||||
port | |||||||||||
subDomain | |||||||||||
agent | |||||||||||
description |
...