作者:疯傻 madfool@163.net
相关下载:
Apache SOAP http://xml.apache.org/soap/index.html
Tomcat4.0.4 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/
1.安装Apache SOAP到C盘根目录,即C:/soap-2_3_1
2.安装Tomcat4.0.4到C:/Program Files/Apache Tomcat 4.0
3.复制C:/soap-2_3_1/webapps/soap.war文件到C:/Program Files/Apache Tomcat 4.0/webapps目录下
4.建立测试目录C:/soaptest和C:/soaptest/classes
5.修改系统环境变量CLASSPATH,加入C:/soaptest/classes/test.jar
6.启动Tomca4.0.4,方法有两个:A.执行C:/Program Files/Apache Tomcat 4.0/bin/startup.ba;B.通过系统管理的服务管理开启Apache Tomcat4.0.4
7.建立测试java源文件,源文件应放置在目录C:/soaptest下
//SimpleMath.java
package test;
public class SimpleMath
{
public double getSinValue(dou