Joffice2中WebService的应用(CXF)

Joffice2中WebService的使用(CXF)1.WebService基本概念WSDL:http://www.w3cschool.cn/index-20.htmlSOAP:h

Joffice2中WebService的使用(CXF)
1.    WebService基本概念

WSDL:
        http://www.w3cschool.cn/index-20.html
    SOAP:
        http://www.w3school.com.cn/soap/index.asp

2.    引入CXF依赖库

   下载:http://cxf.apache.org/,解压至目录
   加上依赖的jar库,如:


并且在app-context.xml中引入以上文件

<import resource="app-cxf.xml"/>

在web.xml中加入

执行ant任务,把joffice中的类打包成ht_cxf_client.jar放置客户端环境: