![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
webservice
iteye_2791
这个作者很懒,什么都没留下…
展开
-
用xfire实现webservice
首先下载xfire包,目前最新的是1.2.6, 下载地址:http://xfire.codehaus.org/Download 一.新建一个web工程,取名为xfire,到入xfire-all-1.2.6.jar和lib下面所需要的包。 二. 创建接口类: package com.zx.ws.test; public interface TestService { public int ...2008-05-22 09:32:37 · 82 阅读 · 0 评论 -
xfire与spring结合的几种方式-
接着我上一篇继续学习。 根据org.codehaus.xfire.spring.XFireSpringServlet和org.codehaus.xfire.spring.ServiceBean配置。 1,创建web 动态工程XFireService,倒入包。 创建接口类,我这个接口只有一个方法。 package com.zx.xfiretext.webserver; import com.z...2008-05-22 11:35:23 · 139 阅读 · 0 评论 -
xfire与spring结合的几种方式二
接着上一篇xfire和spring结合的几种方式一,继续学习。 1。直接集成Spring(通过Spring的org.springframework.web.servlet.DispatcherServlet) 新建一个web工程 XfireService,倒入包,新建一个实体类,接口类,接口实现类。这些和上一篇相同,所以省略,一下主要列出不一样的。 web.xml配置如下: <?xml ve...2008-05-22 15:13:17 · 97 阅读 · 0 评论 -
利用cxf实现webservice
首先下载cxf包,目前最新的版本是apache-cxf-2.1.,下栽地址http://cxf.apache.org/download.html。 1. 首先新建一个web工程CxfService,倒入cxf所学要的包。要倒入的包如下: commons-logging-1.1.jar geronimo-activation_1.1_spec-1.0-M1.jar (or ...2008-05-23 14:46:53 · 95 阅读 · 0 评论