CXF之用spring配置服务端实例(1)
2010-07-31 15:17
746 查看
]<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> <!-- 第一种方式 --> <!-- <jaxws:endpoint id="helloWorld" implementor="cxf.server.HelloWorldImpl" address="/HelloWorld" /> --> <!-- 第二种方式 --> <!-- <bean id="helloWorldImpl" class="cxf.server.HelloWorldImpl"/> <jaxws:endpoint id="helloWorld" implementor="#helloWorldImpl" address="/HelloWorld"/> --> <!-- 第三种方式 --> <jaxws:server id="helloWorld" serviceClass="cxf.server.HelloWorld" address="/HelloWorld"> <jaxws:serviceBean> <bean class="cxf.server.HelloWorldImpl"/> </jaxws:serviceBean> </jaxws:server> </beans>
相关文章推荐
- CXF之用spring配置服务端实例(2)
- CXF之用spring配置服务端和客户端实例(转)
- CXF之用spring配置服务端和客户端实例
- spring与CXF整合配置(服务端)
- CXF+Spring+Hibernate实现RESTful webservice服务端实例
- maven工程:spring+jpa(hhibernate)(cxf服务端配置文件代码)
- CXF+Spring+Hibernate实现RESTful webservice服务端实例
- CXF+Spring+Hibernate实现RESTful webservice服务端实例
- CXF之用spring配置客户端实例(1)
- CXF之不用spring配置的实例(Simple Frontend)
- CXF之spring配置实例(Simple Frontend)
- CXF之不用spring配置的实例(Simple Frontend)
- CXF之用spring整合web项目时, web.xml配置实例
- Spring使用教程(二)配置bean:静态工厂方法和实例工厂方法
- CXF的Spring注解配置及使用
- SpringBoot 使用yml配置 mybatis+pagehelper+druid+freemarker实例
- Spring基于注解的缓存配置--web应用实例
- WebService学习笔记:使用CXF+Spring搭建WebService服务端和客户端
- Spring对JNDI的支持的配置实例
- spring 配置 druid 实例