文件名称:SOAP_XFire
-
所属分类:
- 标签属性:
- 上传时间:2016-12-22
-
文件大小:27.24mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
开发环境:jdk1.6 + Tomcat7 + MyEclipse10
源码下载地址张贴在文章最后面:
首先是使用WSDL协议实现:这里使用XFire
XFire一个免费、开源的SOAP框架,它构建了POJO和SOA之间的桥梁,主要特性就是支持将POJO通过非常简单的方式发布成Web服务,其原理是以接口反射机制自动取得远程方法的
WSDL是一个用来描述Web服务和说明如何与Web服务通信的XML语言
准备:开发之前请先下载xfire-distribution-1.2.6.zip并解压缩
(1)、新建一个Web项目(服务端),名称为XFireWebService,其目的是为了测试WebService服务端
为工程添加XFire支持的类库,把xfire-1.2.6里lib所有jar和xfire-all-1.2.6.jar拷贝到工程lib里
(2)、把XFire加载到系统中来,增加web.xml的配置信息.... -Development environment: jdk1.6+ Tomcat7+ MyEclipse10
Download source code posted at the end of the article:
The first is implemented using the WSDL protocol: XFire is used here
XFire a free, open source SOAP framework, which builds a bridge between POJO and SOA, the main feature is to support the POJO in a very simple way to publish into a Web service, the principle is to automatically obtain the remote interface reflection mechanism
A WSDL is an XML language that describes a Web service and describes how to communicate with a Web service
Prepare: Download xfire-distribution-1.2.6.zip and unzip it before proceeding
(1), create a new Web project (server), the name is XFireWebService, its purpose is to test WebService server
XFire support for the project to support the class library, the xfire-1.2.6 lib all jar and xfire-all-1.2.6.jar copy to the project lib
(2), the XFire loaded into the system to increase web.xml configuration information ....
源码下载地址张贴在文章最后面:
首先是使用WSDL协议实现:这里使用XFire
XFire一个免费、开源的SOAP框架,它构建了POJO和SOA之间的桥梁,主要特性就是支持将POJO通过非常简单的方式发布成Web服务,其原理是以接口反射机制自动取得远程方法的
WSDL是一个用来描述Web服务和说明如何与Web服务通信的XML语言
准备:开发之前请先下载xfire-distribution-1.2.6.zip并解压缩
(1)、新建一个Web项目(服务端),名称为XFireWebService,其目的是为了测试WebService服务端
为工程添加XFire支持的类库,把xfire-1.2.6里lib所有jar和xfire-all-1.2.6.jar拷贝到工程lib里
(2)、把XFire加载到系统中来,增加web.xml的配置信息.... -Development environment: jdk1.6+ Tomcat7+ MyEclipse10
Download source code posted at the end of the article:
The first is implemented using the WSDL protocol: XFire is used here
XFire a free, open source SOAP framework, which builds a bridge between POJO and SOA, the main feature is to support the POJO in a very simple way to publish into a Web service, the principle is to automatically obtain the remote interface reflection mechanism
A WSDL is an XML language that describes a Web service and describes how to communicate with a Web service
Prepare: Download xfire-distribution-1.2.6.zip and unzip it before proceeding
(1), create a new Web project (server), the name is XFireWebService, its purpose is to test WebService server
XFire support for the project to support the class library, the xfire-1.2.6 lib all jar and xfire-all-1.2.6.jar copy to the project lib
(2), the XFire loaded into the system to increase web.xml configuration information ....
(系统自动生成,下载前可以参看下载内容)
下载文件列表
XFireWebService/.classpath
XFireWebService/.mymetadata
XFireWebService/.project
XFireWebService/.settings/.jsdtscope
XFireWebService/.settings/org.eclipse.jdt.core.prefs
XFireWebService/.settings/org.eclipse.wst.common.component
XFireWebService/.settings/org.eclipse.wst.common.project.facet.core.xml
XFireWebService/.settings/org.eclipse.wst.jsdt.ui.superType.container
XFireWebService/.settings/org.eclipse.wst.jsdt.ui.superType.name
XFireWebService/src/com/test/ws/EnterVO.java
XFireWebService/src/com/test/ws/ExceedVO.java
XFireWebService/src/com/test/ws/HelloServiceImpl.java
XFireWebService/src/com/test/ws/IHelloService.aegis.xml
XFireWebService/src/com/test/ws/IHelloService.java
XFireWebService/src/META-INF/xfire/services.xml
XFireWebService/WebRoot/index.jsp
XFireWebService/WebRoot/META-INF/MANIFEST.MF
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/EnterVO.class
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/ExceedVO.class
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/HelloServiceImpl.class
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/IHelloService.aegis.xml
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/IHelloService.class
XFireWebService/WebRoot/WEB-INF/classes/META-INF/xfire/services.xml
XFireWebService/WebRoot/WEB-INF/lib/activation-1.1.jar
XFireWebService/WebRoot/WEB-INF/lib/ASL-2.0.txt
XFireWebService/WebRoot/WEB-INF/lib/bcprov-jdk15-133.jar
XFireWebService/WebRoot/WEB-INF/lib/castor-BSD.txt
XFireWebService/WebRoot/WEB-INF/lib/CDDL-1.0.txt
XFireWebService/WebRoot/WEB-INF/lib/commons-attributes-api-2.1.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-beanutils-1.7.0.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-codec-1.3.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-discovery-0.2.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-httpclient-3.0.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-logging-1.0.4.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxb-api-2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxb-impl-2.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxb-xjc-2.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxen-1.1-beta-9.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxen-ASL-1.1.txt
XFireWebService/WebRoot/WEB-INF/lib/jaxws-api-2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/jdom-1.0.jar
XFireWebService/WebRoot/WEB-INF/lib/jetty-6.1.2rc0.jar
XFireWebService/WebRoot/WEB-INF/lib/jetty-util-6.1.2rc0.jar
XFireWebService/WebRoot/WEB-INF/lib/jmock-1.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/jsr173_api-1.0.jar
XFireWebService/WebRoot/WEB-INF/lib/junit-3.8.1.jar
XFireWebService/WebRoot/WEB-INF/lib/mail-1.4.jar
XFireWebService/WebRoot/WEB-INF/lib/opensaml-1.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/saaj-api-1.3.jar
XFireWebService/WebRoot/WEB-INF/lib/saaj-impl-1.3.jar
XFireWebService/WebRoot/WEB-INF/lib/servlet-api-2.3.jar
XFireWebService/WebRoot/WEB-INF/lib/servlet-api-2.5-6.1.2rc0.jar
XFireWebService/WebRoot/WEB-INF/lib/spring-1.2.6.jar
XFireWebService/WebRoot/WEB-INF/lib/stax-api-1.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/stax-utils-20040917.jar
XFireWebService/WebRoot/WEB-INF/lib/wsdl4j-1.6.1.jar
XFireWebService/WebRoot/WEB-INF/lib/wss4j-1.5.1.jar
XFireWebService/WebRoot/WEB-INF/lib/wstx-asl-3.2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/xbean-2.2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/xbean-spring-2.8.jar
XFireWebService/WebRoot/WEB-INF/lib/xercesImpl-2.6.2.jar
XFireWebService/WebRoot/WEB-INF/lib/xfire-all-1.2.6.jar
XFireWebService/WebRoot/WEB-INF/lib/xfire-jsr181-api-1.0-M1.jar
XFireWebService/WebRoot/WEB-INF/lib/xml-apis-1.0.b2.jar
XFireWebService/WebRoot/WEB-INF/lib/XmlSchema-1.1.jar
XFireWebService/WebRoot/WEB-INF/lib/xmlsec-1.3.0.jar
XFireWebService/WebRoot/WEB-INF/web.xml
XFireWebClient/.classpath
XFireWebClient/.mymetadata
XFireWebClient/.project
XFireWebClient/.settings/.jsdtscope
XFireWebClient/.settings/org.eclipse.jdt.core.prefs
XFireWebClient/.settings/org.eclipse.wst.common.component
XFireWebClient/.settings/org.eclipse.wst.common.project.facet.core.xml
XFireWebClient/.settings/org.eclipse.wst.jsdt.ui.superType.container
XFireWebClient/.settings/org.eclipse.wst.jsdt.ui.superType.name
XFireWebClient/src/com/test/ws/ClientTestServlet.java
XFireWebClient/src/com/test/ws/IHelloService.aegis.xml
XFireWebClient/WebRoot/index.jsp
XFireWebClient/WebRoot/META-INF/MANIFEST.MF
XFireWebClient/WebRoot/result.jsp
XFireWebClient/WebRoot/WEB-INF/classes/com/test/ws/ClientTestServlet.class
XFireWebClient/WebRoot/WEB-INF/classes/com/test/ws/IHelloService.aegis.xml
XFireWebClient/WebRoot/WEB-INF/lib/activation-1.1.jar
XFireWebClient/WebRoot/WEB-INF/lib/ASL-2.0.txt
XFireWebClient/WebRoot/WEB-INF/lib/bcprov-jdk15-133.jar
XFireWebClient/WebRoot/WEB-INF/lib/castor-BSD.txt
XFireWebClient/WebRoot/WEB-INF/lib/CDDL-1.0.txt
XFireWebClient/WebRoot/WEB-INF/lib/commons-attributes-api-2.1.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-beanutils-1.7.0.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-codec-1.3.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-discovery-0.2.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-httpclient-3.0.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-logging-1.0.4.jar
XFireWebClient/WebRoot
XFireWebService/.mymetadata
XFireWebService/.project
XFireWebService/.settings/.jsdtscope
XFireWebService/.settings/org.eclipse.jdt.core.prefs
XFireWebService/.settings/org.eclipse.wst.common.component
XFireWebService/.settings/org.eclipse.wst.common.project.facet.core.xml
XFireWebService/.settings/org.eclipse.wst.jsdt.ui.superType.container
XFireWebService/.settings/org.eclipse.wst.jsdt.ui.superType.name
XFireWebService/src/com/test/ws/EnterVO.java
XFireWebService/src/com/test/ws/ExceedVO.java
XFireWebService/src/com/test/ws/HelloServiceImpl.java
XFireWebService/src/com/test/ws/IHelloService.aegis.xml
XFireWebService/src/com/test/ws/IHelloService.java
XFireWebService/src/META-INF/xfire/services.xml
XFireWebService/WebRoot/index.jsp
XFireWebService/WebRoot/META-INF/MANIFEST.MF
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/EnterVO.class
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/ExceedVO.class
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/HelloServiceImpl.class
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/IHelloService.aegis.xml
XFireWebService/WebRoot/WEB-INF/classes/com/test/ws/IHelloService.class
XFireWebService/WebRoot/WEB-INF/classes/META-INF/xfire/services.xml
XFireWebService/WebRoot/WEB-INF/lib/activation-1.1.jar
XFireWebService/WebRoot/WEB-INF/lib/ASL-2.0.txt
XFireWebService/WebRoot/WEB-INF/lib/bcprov-jdk15-133.jar
XFireWebService/WebRoot/WEB-INF/lib/castor-BSD.txt
XFireWebService/WebRoot/WEB-INF/lib/CDDL-1.0.txt
XFireWebService/WebRoot/WEB-INF/lib/commons-attributes-api-2.1.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-beanutils-1.7.0.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-codec-1.3.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-discovery-0.2.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-httpclient-3.0.jar
XFireWebService/WebRoot/WEB-INF/lib/commons-logging-1.0.4.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxb-api-2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxb-impl-2.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxb-xjc-2.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxen-1.1-beta-9.jar
XFireWebService/WebRoot/WEB-INF/lib/jaxen-ASL-1.1.txt
XFireWebService/WebRoot/WEB-INF/lib/jaxws-api-2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/jdom-1.0.jar
XFireWebService/WebRoot/WEB-INF/lib/jetty-6.1.2rc0.jar
XFireWebService/WebRoot/WEB-INF/lib/jetty-util-6.1.2rc0.jar
XFireWebService/WebRoot/WEB-INF/lib/jmock-1.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/jsr173_api-1.0.jar
XFireWebService/WebRoot/WEB-INF/lib/junit-3.8.1.jar
XFireWebService/WebRoot/WEB-INF/lib/mail-1.4.jar
XFireWebService/WebRoot/WEB-INF/lib/opensaml-1.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/saaj-api-1.3.jar
XFireWebService/WebRoot/WEB-INF/lib/saaj-impl-1.3.jar
XFireWebService/WebRoot/WEB-INF/lib/servlet-api-2.3.jar
XFireWebService/WebRoot/WEB-INF/lib/servlet-api-2.5-6.1.2rc0.jar
XFireWebService/WebRoot/WEB-INF/lib/spring-1.2.6.jar
XFireWebService/WebRoot/WEB-INF/lib/stax-api-1.0.1.jar
XFireWebService/WebRoot/WEB-INF/lib/stax-utils-20040917.jar
XFireWebService/WebRoot/WEB-INF/lib/wsdl4j-1.6.1.jar
XFireWebService/WebRoot/WEB-INF/lib/wss4j-1.5.1.jar
XFireWebService/WebRoot/WEB-INF/lib/wstx-asl-3.2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/xbean-2.2.0.jar
XFireWebService/WebRoot/WEB-INF/lib/xbean-spring-2.8.jar
XFireWebService/WebRoot/WEB-INF/lib/xercesImpl-2.6.2.jar
XFireWebService/WebRoot/WEB-INF/lib/xfire-all-1.2.6.jar
XFireWebService/WebRoot/WEB-INF/lib/xfire-jsr181-api-1.0-M1.jar
XFireWebService/WebRoot/WEB-INF/lib/xml-apis-1.0.b2.jar
XFireWebService/WebRoot/WEB-INF/lib/XmlSchema-1.1.jar
XFireWebService/WebRoot/WEB-INF/lib/xmlsec-1.3.0.jar
XFireWebService/WebRoot/WEB-INF/web.xml
XFireWebClient/.classpath
XFireWebClient/.mymetadata
XFireWebClient/.project
XFireWebClient/.settings/.jsdtscope
XFireWebClient/.settings/org.eclipse.jdt.core.prefs
XFireWebClient/.settings/org.eclipse.wst.common.component
XFireWebClient/.settings/org.eclipse.wst.common.project.facet.core.xml
XFireWebClient/.settings/org.eclipse.wst.jsdt.ui.superType.container
XFireWebClient/.settings/org.eclipse.wst.jsdt.ui.superType.name
XFireWebClient/src/com/test/ws/ClientTestServlet.java
XFireWebClient/src/com/test/ws/IHelloService.aegis.xml
XFireWebClient/WebRoot/index.jsp
XFireWebClient/WebRoot/META-INF/MANIFEST.MF
XFireWebClient/WebRoot/result.jsp
XFireWebClient/WebRoot/WEB-INF/classes/com/test/ws/ClientTestServlet.class
XFireWebClient/WebRoot/WEB-INF/classes/com/test/ws/IHelloService.aegis.xml
XFireWebClient/WebRoot/WEB-INF/lib/activation-1.1.jar
XFireWebClient/WebRoot/WEB-INF/lib/ASL-2.0.txt
XFireWebClient/WebRoot/WEB-INF/lib/bcprov-jdk15-133.jar
XFireWebClient/WebRoot/WEB-INF/lib/castor-BSD.txt
XFireWebClient/WebRoot/WEB-INF/lib/CDDL-1.0.txt
XFireWebClient/WebRoot/WEB-INF/lib/commons-attributes-api-2.1.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-beanutils-1.7.0.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-codec-1.3.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-discovery-0.2.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-httpclient-3.0.jar
XFireWebClient/WebRoot/WEB-INF/lib/commons-logging-1.0.4.jar
XFireWebClient/WebRoot
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.