package demo.spring.client;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import demo.spring.service.HelloWorld;
/**
* @author 李云剑
*
*/
public class TestCxfServer {
public static void main(String[] args) {
ApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "cxf-client.xml" });
HelloWorld client = (HelloWorld) context.getBean("helloClient");
String response = client.sayHi("Jim");
System.out.println("Response: " + response);
System.exit(0);
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
CXF2.7+Spring3 Java WebService 集成用例
共43个文件
jar:18个
xml:6个
class:4个
5星 · 超过95%的资源 需积分: 3 89 下载量 190 浏览量
2012-12-27
20:17:25
上传
评论 1
收藏 9.4MB RAR 举报
温馨提示
使用最新的CXF2.7和Spring3的 Java WebService 集成用例 应用Spring Annotation
资源推荐
资源详情
资源评论
收起资源包目录
CXF2.7+Spring3 Java WebService 集成用例.rar (43个子文件)
CXFUseCase
.project 2KB
.settings
.jsdtscope 500B
org.eclipse.wst.common.component 547B
org.eclipse.jdt.core.prefs 364B
com.genuitec.eclipse.ws.prefs 78B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.jsdt.ui.superType.name 6B
.mymetadata 303B
WebRoot
WEB-INF
web.xml 1KB
lib
cxf-2.7.1.jar 6.55MB
spring-asm-3.0.7.RELEASE.jar 52KB
spring-web-3.0.7.RELEASE.jar 389KB
httpcore-4.2.2.jar 218KB
neethi-3.0.2.jar 70KB
wsdl4j-1.6.2.jar 145KB
httpcore-nio-4.2.2.jar 279KB
xmlschema-core-2.0.3.jar 159KB
spring-aop-3.0.7.RELEASE.jar 314KB
httpasyncclient-4.0-beta3.jar 80KB
spring-context-3.0.7.RELEASE.jar 655KB
commons-logging-1.1.1.jar 59KB
spring-expression-3.0.7.RELEASE.jar 166KB
spring-beans-3.0.7.RELEASE.jar 544KB
stax2-api-3.1.1.jar 178KB
spring-core-3.0.7.RELEASE.jar 375KB
httpclient-4.2.1.jar 417KB
geronimo-jms_1.1_spec-1.1.1.jar 32KB
classes
cxf-servlet.xml 878B
cxf-client.xml 589B
demo
spring
client
TestCxfServer.class 1KB
HelloWorldt.class 244B
service
HelloWorld.class 243B
HelloWorldImpl.class 1021B
index.jsp 829B
META-INF
MANIFEST.MF 36B
.myeclipse
src
demo
spring
client
HelloWorldt.java 140B
TestCxfServer.java 605B
service
HelloWorldImpl.java 369B
HelloWorld.java 140B
resource
cxf-servlet.xml 878B
cxf-client.xml 589B
.classpath 576B
共 43 条
- 1
ionlywantto
- 粉丝: 2
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页