ECLIPSE如何安装Axis插件
Eclipse使用Axis生成Web Service客户端的过程,http://www.java2000.net/viewthread.jsp?tid=4682
老紫竹在上面的文章中写了用Eclipse使用Axis生成Web Service客户端,
但是我的没有Eclipse没有Axis插件,
请问如何安装Axis插件,
或者那里有Axis插件下载。
知道的请与我联系:
xiaxiaorui2003@163.com
------解决方案--------------------
------解决方案--------------------axis下载地址:
http://apache.mirror.phpchina.com/ws/axis/1_4/
我下的是axis-bin-1_4.zip
axis2下载地址:
http://apache.mirror.phpchina.com/ws/axis2/1_4/
如何安装Axis插件?
1>下载好后解压在任意盘符下,然后将x:/../axis-1_4/webapps下全部复制到tomcat下的webapps中.
2>将..\Tomcat 5.5\webapps\axis\WEB-INF\lib下的所有jar复制到tomcat的common/lib下
3>将jdkx.x/lib下的tools.jar也拷贝到tomcat的common/lib下
4>配置环境变量:
在系统变量中添加:
1.变量名TOMCAT_HOME
变量值C:\Tomcat5.0
2. 变量名AXIS_HOME
变量值%TOMCAT_HOME%\webapps\axis
3. 变量名AXIS_LIB
变量值%AXIS_HOME%\lib
4. 变量名AXISCLASSPATH
变量值%AXIS_LIB%\axis.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\axis-schema.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar; %AXIS_LIB%\activation.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\xmlsec-1.3.0.jar;
5.变量名CLASSPATH
变量值%AXIS_LIB%\axis.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\axis-schema.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar; %AXIS_LIB%\activation.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\xmlsec-1.3.0.jar;
这里注意:
classpath里的某些包需要单独下载
(jaf-1_0_2-upd2.zip、javamail-1_4.zip和xml-security-bin-1_3_0.zip)
否则会显示:
Found SAAJ API ( javax.xml.soap.SOAPMessage ) at an unknown location
Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location
Found Activation API ( javax.activation.DataHandler ) at an unknown location
测试连接:http://localhost:8080/axis/
http://localhost:8080/axis/happyaxis.jsp
提示:The core axis libraries are present.The optional components are present
就是安装成功!
------解决方案--------------------可以通过Axis2_Codegen_Wizard_1.2.0 eclipse 插件来开发wsdl和框架文件然后通过Axis_Service_Archiver_1.0.0 eclipse 插件打包服务。
这两个插件的下载地址:
http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_0/Axis2_Service_Archiver.zip
http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_0/Axis2_Code_Generator.zip
使用方法网上去搜。
------解决方案--------------------eclipse for j2ee的版本应该有吧
eclipse for java的可能没有
------解决方案--------------------1>下载好后解压在任意盘符下,然后将x:/../axis-1_4/webapps下全部复制到tomcat下的webapps中.
2>将..\Tomcat 5.5\webapps\axis\WEB-INF\lib下的所有jar复制到tomcat的common/lib下
3>将jdkx.x/lib下的tools.jar也拷贝到tomcat的common/lib下
4>配置环境变量:
在系统变量中添加:
1.变量名TOMCAT_HOME
变量值C:\Tomcat5.0
2. 变量名AXIS_HOME
变量值%TOMCAT_HOME%\webapps\axis
3. 变量名AXIS_LIB
变量值%AXIS_HOME%\lib
4. 变量名AXISCLASSPATH
变量值%AXIS_LIB%\axis.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\axis-schema.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar; %AXIS_LIB%\activation.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\xmlsec-1.3.0.jar;
5.变量名CLASSPATH
变量值%AXIS_LIB%\axis.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\axis-schema.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar; %AXIS_LIB%\activation.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\xmlsec-1.3.0.jar;