---
title: "MyEclipse下开发Web Service(Axis)"
author: "duyunfengsolo"
date: "2009-08-21T14:19:52Z"
tags: ["Apache", "Eclipse", "Myeclipse", "Tomcat", "Web"]
slug: "myeclipse-web-service-axis"
draft: false
lastmod: "2009-08-21T14:19:52Z"
id: 454424
url: "https://solodu.iteye.com/blog/454424"
---

本文主要描述如何使用 Apache 开源项目 Axis 提供的 API 来实现 Web Services 。本文中的提到的例子只为了方便本文的描述而提出，有不妥之处请见谅。

    本文的读者应有 JAVA web 应用开发基础。应该具有看过 WSDL ， SOAP ， XML 等的基本规范。熟悉Eclipse+MyEclipse开发环境。

    本文可以随意转载使用，但是要保留作者的署名。

## 一、环境准备

使用 Axis 来开发 Web services 需要准备 web 服务器， Axis API 。本文使用的 Web container 是 Tomcat5.5, Axis API 采用版本 2 。

**1.1** **软件下载准备**

Tomcat 下载地址： http://tomcat.apache.org/download-55.cgi#5.5.20

Axis 标准包：

[http://ftp.wayne.edu/apache/ws/axis2/1\_0/axis2-std-1.0-bin.zip](http://ftp.wayne.edu/apache/ws/axis2/1_0/axis2-std-1.0-bin.zip)

Axis War 包：

[http://ftp.wayne.edu/apache/ws/axis2/1\_0/axis2.war](http://ftp.wayne.edu/apache/ws/axis2/1_0/axis2.war)

Axis Eclipse plug-in( 代码生成工具和打包工具 ):

[http://apache.justdn.org/ws/axis2/tools/1\_0/Axis2\_Code\_Generator.zip](http://apache.justdn.org/ws/axis2/tools/1_0/Axis2_Code_Generator.zip)

[http://apache.justdn.org/ws/axis2/tools/1\_0/Axis2\_Service\_Archiver.zip](http://apache.justdn.org/ws/axis2/tools/1_0/Axis2_Service_Archiver.zip)

Eclipse+MyEclipse ：可以到官方网站下载（本文为 3.2 ＋ 5.0GA ）

 

操作详细步骤请看: [http://tb.blog.csdn.net/TrackBack.aspx?PostId=1613401](http://blog.csdn.net/bonbonstella/archive/2007/05/17/1613401.aspx)