Home Database Mysql Tutorial axis2 module建立的过程

axis2 module建立的过程

Jun 07, 2016 pm 03:00 PM
module Establish net process

module的建立网上的例子都是参考axis21.4的,而且都是基于axis2的示例整合,在这里使用maven整合axis2的module。 上一次配置soapmonitor的时候将axis1.6jar包下的axis2.xml拷贝到web-inf目录下后,soap才起作用,我们这一次建立module则需要在axis2.xml中 在

module的建立网上的例子都是参考axis21.4的,而且都是基于axis2的示例整合,在这里使用maven整合axis2的module。

上一次配置soapmonitor的时候将axis1.6jar包下的axis2.xml拷贝到web-inf目录下后,soap才起作用,我们这一次建立module则需要在axis2.xml中

在axis2.xml中添加

<phase name="logTestPhase"></phase>
Copy after login
在resource的目录的meta-inf的目录下添加module.xml文件,内容如下,
<module name="logmonitor" class="com.hfmx.axis2.LogModule">
    <inflow>
        <handler name="InFlowTestLogHandler" class="com.LogHandler">
            <order phase="logPhase"></order>
        </handler>
    </inflow>

    <outflow>
        <handler name="OutFlowOurTestLogHandler" class="com.LogHandler">
            <order phase="logPhase"></order>
        </handler>
    </outflow>

    <outfaultflow>
        <handler name="FaultOutFlowTestLogHandler" class="com.LogHandler">
            <order phase="logPhase"></order>
        </handler>
    </outfaultflow>

    <infaultflow>
        <handler name="FaultInFlowTestLogHandler" class="com.LogHandler">
            <order phase="logPhase"></order>
        </handler>
    </infaultflow>
</module>
Copy after login


然后在axis2的services.xml添加如下代码
<module ref="logmonitor"></module>
Copy after login

com.LogHandler代码可以参照soapmonitarHandler的代码编写

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Understand the importance of establishing linked files in Linux Understand the importance of establishing linked files in Linux Feb 22, 2024 pm 07:24 PM

Title: In-depth discussion of the importance and examples of establishing link files in Linux. In the Linux operating system, link files are a very useful concept. It can help users better organize and manage data in the file system and improve file accessibility. Accessibility and flexibility. Understanding how to create link files in Linux is crucial for system administrators and developers. This article will delve into the importance of establishing link files in Linux and demonstrate its usage and role through specific code examples. 1.What is

ModuleNotFoundError: How to solve Python module not found error? ModuleNotFoundError: How to solve Python module not found error? Jun 25, 2023 pm 09:30 PM

During the development process of Python, we often encounter module not found errors. The specific manifestation of this error is that Python reports one of two errors: ModuleNotFoundError or ImportError when importing the module. This error is very annoying and can cause the program to not run properly, so in this article, we will explore the causes of this error and how to solve it. ModuleNotFoundError and ImportError in Pyth

How to create mdf file How to create mdf file Feb 18, 2024 pm 01:36 PM

MDF file is a common database file format and it is one of the main files of Microsoft SQL Server database. In database management systems, MDF files are used to save the main data of the database, including tables, indexes, stored procedures, etc. Creating an MDF file is one of the key steps in creating a database. Some common methods will be introduced below. Using SQLServerManagementStudio(SSMS)SQLServerManag

How to create a WeChat group How to create a WeChat group How to create a WeChat group How to create a WeChat group Feb 22, 2024 pm 03:46 PM

Select the plus button on the homepage, then select Start a group chat, check the contacts you want to create a group, and then complete. Tutorial Applicable Model: iPhone13 System: IOS15.3 Version: WeChat 8.0.20 Analysis 1 First open WeChat and click the plus button in the upper right corner of the homepage. 2 Next, click the option to initiate a group chat in the pop-up window. 3Finally, check the contacts you want to create a group on the page and click Finish. Supplement: What is WeChat group chat? 1 WeChat chat group is a multi-person chat and communication network platform developed by Tencent. We can use the Internet to quickly transmit voice messages, short videos, high-definition pictures and text content. You can also use WeChat to communicate with friends in more colorful forms such as short messages, mobile MMS, etc.

Java9 new feature Module modular programming method Java9 new feature Module modular programming method May 19, 2023 pm 01:51 PM

In the Java9 version, the Java language introduced a very important concept: module. If you are familiar with the modular management of JavaScript code, you should feel familiar when you see the modular management of Java 9. 1. What is Javamodule? Somewhat similar to packages in Java, modules introduce another level of grouping of Java code. Each such group (module) contains many sub-packages. Declare the folder and its subfolders as a module by adding the file module-info.java to the root of a module's source code file package. The file syntax

Back to the Future How to spend 19996-24 Back to the Future How to spend 19996-24 Mar 02, 2024 pm 12:58 PM

In Back to the Future 1999, players will face many level challenges, and each level brings completely different challenges. As one of the levels, 6-24 will definitely have many players thinking about it. You know how to challenge this level, so the following will also bring relevant clearance methods. Back to the Future 19996-24 Clearance Method 1. After burning on level 30 in one sentence, wait for the boss to be stunned and give him a heavy beating. 2. Prioritize using main C and 142d to burn in one round. 3. In the second round, use the auxiliary and nanny's small skills to burn and the main C card to build a big move. 4. The boss will be stunned in three rounds, and then he will be beaten directly with his ultimate move and damage skills.

How to beat Difficulty 3 of Mingtide Fantasyland How to beat Difficulty 3 of Mingtide Fantasyland Feb 28, 2024 pm 10:19 PM

Share how to pass the level of Ming Tide Fantasyland Difficulty 3. Many people in Mingchao are completing level 3 of this fantasyland. This level is actually a bit difficult. Many friends don’t know what to do yet, but don’t worry, the editor brings it to you. If you have read the strategies in it, come and give it a try. How to pass the Bell Turtle character in Difficulty Level 3? Strengthening resonance skills can improve the effect of our aerodynamics. In this way, the attack efficiency will be increased and the damage will be greater. However, if you have Effect replacement can also be exchanged. [Metaphor] Choice for the first three levels: Sun in the Forest: It can greatly increase the damage of Jiyan. If the skill is used more often, it can produce a very good critical hit effect. Protective device: Use resonance technology

What is the best New Zealand online shopping app? (Recommended by New Zealand shopping website) What is the best New Zealand online shopping app? (Recommended by New Zealand shopping website) Jan 02, 2024 pm 07:24 PM

What app should I use for online shopping in New Zealand? What app should I use for online shopping in New Zealand? Shopping on Taobao in New Zealand: 1. Just log in to Taobao and shop like you do in China. New Zealand also has a Bank of China, and you can go and handle the recharge business. 2. For express delivery, you can communicate with the Taobao seller. For goods less than 2kg, it is most cost-effective to use EMS international small package. For heavy items, you can only use EMS international express, DHL, TNT and other international express delivery. Which Chinese version of New Zealand Navigation is easier to use? You can choose to use Google Maps for the Chinese version of New Zealand Navigation. It not only provides accurate navigation routes, real-time traffic information and voice navigation, but also provides detailed business information and reviews to facilitate users to find surrounding restaurants, gas stations, supermarkets and other service facilities. In addition, G

See all articles