Axis 1.2 RC3 在 tomcat 5.5.8下的配置。 axis最新下载地址: http://www.eu.apache.org/dist/ws/axis/1_2RC3/axis-src-1_2RC3.zip http://www.eu.apache.org/dist/ws/axis/1_2RC3/axis-bin-1_2RC3.zip 解压到: E:\javalibs\axis-1_2RC3 然后复制E:\javalibs\axis-1_2RC3\webapps\axis到D:\jakarta-tomcat-5.5.8\webapps\axis. xmlsec的jar下载地址在: http://xml.apache.org/security/dist/java-library/xmlsec-1.2.1.jar 下载之后复制到D:\jakarta-tomcat-5.5.8\webapps\axis\WEB-INF\lib下. 再复制E:\javalibs\jaf-1.0.2\activation.jar和E:\javalibs\javamail-1.3.2\mail.jar, E:\javalibs\xmllibs\xerces-2_6_2\下的xercesImpl.jar,xml-apis.jar,xmlParserAPIs.jar E:\javalibs\xmllibs\xalan-j_2_6_0\bin\xalan.jar到D:\jakarta-tomcat-5.5.8\webapps\axis\WEB-INF\lib下. (如果不复制xalan.jar,访问: http://localhost:8080/axis/happyaxis.jsp,会得到以下警告: Warning: could not find a dependency of class org.apache.xml.security.Init from file XML Security is not supported. See http://xml.apache.org/security/ {4} The root cause was: org/apache/xpath/compiler/FuncLoader This can happen e.g. if org.apache.xml.security.Init is in the 'common' classpath, but a dependency like activation.jar is only in the webapp classpath ) ------------ http://blog.csdn.net/lizongbo/ ------------ 至此,完整的axis环境配置完毕. 访问http://localhost:8080/axis/happyaxis.jsp将看不到任何警告了。

|