随笔分类 - WebService
摘要:一.服务端: 2.cxf.xml配置 3.创建接口service和接口实现类serviceImpl,接口上加@WebService,访问地址:http://127.0.0.1:8080/CXF-server/service/cxfService?wsdl 4.加入相应jia包 二.客户端 1.cxf
阅读全文
摘要:axis1 服务端配置 1、首先建立一个项目 axisTest 不需多说 2、在lib下放入需要的jar包 点击下载 :axis所需的jar包下载 3、然后需要在web.xml里面加入: 4、创建服务端的代码: 5、在WEB-INF下创建service-config.wsdd 文件,内容如下: 6、
阅读全文
摘要:web.xml配置 <listener> <listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class> </listener> <servlet> <servlet-name>AxisS
阅读全文

浙公网安备 33010602011771号