<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<!--
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>WEB-INF\database.properties</value>
</list>
</property>
</bean>
--><import resource="classpath:org/codehaus/xfire/spring/xfire.xml" />
<bean id="baseWebService" class="org.codehaus.xfire.spring.remoting.XFireExporter" lazy-init="false" abstract="true">
<property name="serviceFactory" ref="xfire.serviceFactory" />
<property name="xfire" ref="xfire" />
</bean>
<bean id="userWS" class="org.ave7.xfire.ws.UserServiceImpl"></bean>
<bean id="userService" parent="baseWebService">
<property name="serviceBean" ref="userWS" />
<property name="serviceClass" value="org.ave7.xfire.ws.UserService" />
</bean>
</beans>
分享到:
相关推荐
xfire+Spring整合发布webservice,详细解释配置过程,及是替代码,帮助一部分需要这方面开发的人员。
使用XFire+Spring构建Web Service.doc 该文章讲解了整个的配置流程,按照该流程可以完成框架搭建。该文章是转载其他人的,因为没有积分,所以不得以而为之。惭愧。
这一个使用org.codehaus.xfire.spring.XFireSpringServlet整合三个框架的配置。只需要配置这两个文件就可以正确发布webservice。比较简单的一种整合方式
实现 xFire与 Spring 的集成
Spring+xFire+wss4j配置Helloworld完整Demo.rar
XFire中实现WS-Security完整编 Spring+xFire+wss4j配置Helloworld实例 完整说明文档 Myeclipse项目 服务端工程 客户端工程
简单好用的服务器框架,解压直接使用,对看不懂配置的小白来说,去安装个MySQL数据库,数据库密码设置ywd123。然后新建数据库,数据库名:springmybaitis.数据库下新建表user,增加三个字段,id(主键),username,...
spring+xfire( 编写webservice完整配置+案例)
webservice(xfire)+spring的二种实现方式,里面有详细的配置说明.
Xfire配置Web Service+Spring+Hibernate详细流程
网上资料大多是只有spring+xfire 含有Hibernate的少 3.配置时候还遇到spring实现 客户端调用服务器端时候 注入失败 4.在服务器端向客户端做映射的时候失败 5.在服务器端获取非基本类转化问题
此文档讲解配制Spring2.5+Hibernate3.2+xfire开发webservice工程(有截图)
CXF环境配置 - jackymin CXF与Spring的集成 log4j的配置使用 Spring XML配置十二个最佳实践WebService开发实例 (Xfire+Spring+Hibernate)
这里面介绍了关于使用spring 集成了xfire的功能, 同时提供了部分源码, 关于web.xml中的配置 ...关于spring.xfire.xml配置 关于项目框架的搭建 如有需要全部源码的读者可以联系我: QQ :289283175 谢谢 支持!
注:之所以有此补充是因为看完了原文之后发现虽然可用但是hiberante获取bean时无法得到上下文. invalid SOAP request: 当在浏览其中报此错误的时候,实际上是因为WebService针对的是客户端请求,而不是浏览器的访问. ...
Xfire在Spring下实现安全的WebService详述---配置 -
webservice xfire整合spring(webservice配置采用注解),demo包含xfire 与spring整合的配置,客户端和服务端的代码,及jar包
如题 博文链接:https://ghost-fly.iteye.com/blog/206199