创建web service(axis)

创建web service(axis)

ID:37731444

大小:36.00 KB

页数:5页

时间:2019-05-29

创建web service(axis)_第1页
创建web service(axis)_第2页
创建web service(axis)_第3页
创建web service(axis)_第4页
创建web service(axis)_第5页
资源描述:

《创建web service(axis)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、1、新建一个Web工程,工程名为“AxisTest”:2、新建“lib”文件夹,然后把主要JAR包:axis.jar,commons-discovery-0.2.jar,commons-logging-1.0.4.jar,jaxrpc.jar,wsdl4j-1.5.1.jar,saaj.jar;可选包(发布服务及生成客户端程序是要用到的):activation.jar;mail.jar都拷贝到此“lib”文件夹下,并把主要的JAR包添加到工程的classpath中;3、配置“web.xml”:

2、xml version="1.0" encoding="UTF-8"?>        Apache-Axis                org.apache.axis.transport.http.AxisHTTPSessionListener              AxisServlet

4、me>            org.apache.axis.transport.http.AxisServlet            AdminServlet            org.apache.axis.transport.http.AdminServlet     

5、   100        SOAPMonitorService            org.apache.axis.monitor.SOAPMonitorService              SOAPMonitorPo

6、rt      5001        100        AxisServlet    /servlet/AxisServlet  

7、pping>      AxisServlet    *.jws        AxisServlet    /services/*   

8、     SOAPMonitorService    /SOAPMonitor