AXIS官方文档中文版.docxVIP

  • 49
  • 0
  • 约7.44千字
  • 约 7页
  • 2021-01-10 发布于天津
  • 举报
此文档根据官方说明整理 原文地址:/axis2/java/core/docs/ nstallati on guide.html 一、准备工作: Apache axis2 下载地址: /axis2/java/core/dow nl oad.cgi Oi-3-tribution NlAm Des^npbon Binary [Ustribution rhlis Is the complece verston of and will coni^ln samples as 俪elL since ws-Addresstng lrnplerTieiritatin and SOAP Mon iter uitility modules are! in to by default this distritHJtioni wll contain addressing .mar and soapmionitcr.inar, But the othier modutes thiat are bgi聘 developed 丹ittiin Axh2 will not be inclu-d@d here, and need to be djwnloiacied separately. Source Distribution Ttiii will ton id in the iaciruei nr zrLiriddr J di^Libutiun. One can dt^ a binary di5tritJt1on firm tirs ty typing Smaver iji5t-b1 n (5巩 up Axis; envirunnent before running this CQiurnifidJ . Useful for advancwJ us^rs. (Web Archive) Dstrilbuticn This 阳ill b 它 the web app Li cation of Axis! Miich 匚 am be d 电 ployed in most of th? E.^rv.et: containers. Oocuments Dtstrlbucion This will contain all ±ie dcKuimentzLtiQn in cne package? 可以看到四个文件的介绍, 正下方有下载链接,每个版本包括四个文件, 全部下载下来。 这里选择目前最新版本 Apache ant 下载地址: /axis2/java/core/dow nl oad.cgi Apache maven 下载地址: http://mave n. /dow nl oad.html JDK版本在1.5以上,环境变量要设置好,环境变量的设置请百度。 二、Apache Axis2 安装向导 1.解压下载好的 Standard Binary Distribution文件到指定的目录。 设置AXIS2_HOME环境变 量到 Sta ndard Bi nary Distribution 解压的位置。 例如:我将 Sta ndard Bi nary Distribution 解压到了 D:\work 下 娈重 值 a Airr HDWE D : HvorlzVapaclLe-aat—1. S.2 —J WJISE^HOME U:s2-l. 6. 2 WCIS2_UE CMM.THA HT1HF 畑I盘_HDME辭lib T1! S w !i 1 nm r a t an a rh t nmr a t 新蘊血…[備⑴… 删關心 2.启动AXIS2独立服务器 在命令提示行,键入以下命令: %AXIS2_HOME%\bi n\axis2server.bat。 启动以后,在浏览器地址栏中输入 http://localhost:8080/axis2/services/ ,可以看到默认的 webservices已经启动。 Deployed services Vgr吕ion Available operations ? getVersion 点击version可以看到默认 web services的 WSDL文件。 3.使用 Sta ndard Bi nary Distributio n 构建 Axis2 web 应用程序(axis2.war) 首先要保证Ant能够正常使用。Ant配置方法请去百度。这里不进行说明。 在命令提示行定位到 %AXIS2_HOME%\webapp,使用 ant命令:ant create.war创建 axis2.war。 D: \rort\czimcacx 2lxjlsz-丄? ts ?星\ dihd1 D; \ rfOl k\ L jlix^lCX

文档评论(0)

1亿VIP精品文档

相关文档