怎么安装Axis
1)安装JDK1.3版或以上我的是D:j2sdk1.4.22)安装TOMCAT5.0不一定要求是TOMCAT,只要是支持servlet 2.2 API的就可以;我的是D:Tomcat 5.0TOMCAT启动应该不报错.3)下载Axis1.1版从http://xml.apache.org下载,解压,我的是D:AxisAxis-1_14)拷贝Axis从D:AxisAxis-1_1webappsAxis copy to D:Tomcat 5.0webappsAxis5)建立包文件如果你的JDK版本大于1.4,则不需要XML PARSER的包了;否则,请找到xerces包,放到D:Tomcat 5.0webappsAxisWEB-INFlib目录6)启动TOMCAT,访问Axis/">http://127.0.0.1:8080/Axis/,应该出现Apache-Axis启动页面.7)点选Validate,应该报错,如下:Error: could not find class javax.activation.DataHandler from file activation.jarAxis will not workSee http://java.sun.com/products/javabeans/glasgow/jaf.htmlOptional ComponentsWarning: could not find class javax.mail.internet.MimeMessage from file mail.jarAttachments will not workSee http://java.sun.com/products/javamail/ERROR中提到的包是应该放到相应目录的,Optional Components是可选的包.8)我们观察,D:Tomcat 5.0webappsAxis目录下有个EchoHeader.jws文件,我们可以用它来测试JWS服务,访问 Axis/EchoHeaders.jws?method=list">http://localhost:8080/Axis/EchoHeaders.jws?method=list我们可以看到效果.
<script type="text/javascript"> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>