AXIS 的安装

Axis(Apache extensible interaction System)是一款开源的webService运行引擎,它是SOAP协议的一个实现,其本身原因Apache的另外一个Apache SOAP 项目。

Axis 分别 为: 1.x 系列 和 2.x系列. 两个版本区别比较大,也相对比较稳定.因此本文内容以Axis 1.x系列最新版1.4为基础.

 

2.AXIS的下载.

登陆

http://www.apache.org/dyn/closer.cgi/ws/axis/1_4 站点下载,Axis 的版本1.4。

 

安装Axis,首先 必须保证系统已经成功安装web,本来是用的是apache-tomcat-6.0.20.也可以下载其他应用服务器,weblogic,或者webapps等,把下载好的AXIS_1.4.zip解压,进入webapps目录中,找到axis文件夹复制到tomcat的webapps下,

然后,打开浏览器访问 http://localhost:9999/axis

 

如果出现下面的界面,就表示安装成功.

Apache-AXIS

Language: [ en] [ ja]

Hello! Welcome to Apache-Axis.

What do you want to do today?

  • Validation - Validate the local installation's configuration
    see below if this does not work.
  • List - View the list of deployed Web services
  • Call - Call a local endpoint that list's the caller's http headers (or see its WSDL).
  • Visit - Visit the Apache-Axis Home Page
  • Administer Axis - [disabled by default for security reasons]
  • SOAPMonitor - [disabled by default for security reasons]

To enable the disabled features, uncomment the appropriate declarations in WEB-INF/web.xml in the webapplication and restart it.

 

Validating Axis

If the "happyaxis" validation page displays an exception instead of a status page, the likely cause is that you have multiple XML parsers in your classpath. Clean up your classpath by eliminating extraneous parsers.

If you have problems getting Axis to work, consult the Axis Wiki and then try the Axis user mailing list.

 

 

然后点击Validation 链接,会提示 axis的必须组件,还缺少一个没有安装,两个可选组件也没有安装,

分别下载:jaf-1_1-fr.zip,javamail-1_4.zip,xml-security-bin-1_2_1.zip包,然后把jaf-1_1-fr.zip里德Activation.jar,javamail-1_4.zip里面的mail.jar,xml-security-bin-1_2_1.zip里面的xmlsec-1.2.1.jar,xalan.jar都放在你的axis应用的web-inf/lib 目录中,然后,在检验,axis,会看到页面提示全部安装成功.

 

Axis Happiness Page

Examining webapp configuration

 

Language: [ en] [ ja]

Needed Components

  • Found SAAJ API ( javax.xml.soap.SOAPMessage ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\saaj.jar
  • Found JAX-RPC API ( javax.xml.rpc.Service ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\jaxrpc.jar
  • Found Apache-Axis ( org.apache.axis.transport.http.AxisServlet ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\axis.jar
  • Found Jakarta-Commons Discovery ( org.apache.commons.discovery.Resource ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\commons-discovery-0.2.jar
  • Found Jakarta-Commons Logging ( org.apache.commons.logging.Log ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\commons-logging-1.0.4.jar
  • Found Log4j ( org.apache.log4j.Layout ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar
  • Found IBM's WSDL4Java ( com.ibm.wsdl.factory.WSDLFactoryImpl ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar
  • Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location
  • Found Activation API ( javax.activation.DataHandler ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\activation.jar

Optional Components

  • Found Mail API ( javax.mail.internet.MimeMessage ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\mail.jar
  • Found XML Security API ( org.apache.xml.security.Init ) at F:\apache-tomcat-6.0.20\webapps\axis\WEB-INF\lib\xmlsec-1.2.1.jar
  • Found Java Secure Socket Extension ( javax.net.ssl.SSLSocketFactory ) at an unknown location

The core axis libraries are present.The optional components are present.

    Note: Even if everything this page probes for is present, there is no guarantee your web service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficient

 

你可能感兴趣的:(apache,tomcat,Web,log4j,Security)