代码片段:spring配置文件
<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEbeansPUBLIC"-//SPRING//DTDBEAN//EN""/dtd/spring-beans.dtd"><beans><importresource="classpath:org/codehaus/xfire/spring/xfire.xml"/><beanid="baseWebService"class="org.codehaus.xfire.spring.remoting.XFireExporter"lazy-init="false"abstract="true"><propertyname="serviceFactory"ref="xfire.serviceFactory"/><propertyname="xfire"ref="xfire"/><propertyname="inHandlers"><list><refbean="authenticationHandler"/></list></property></bean><beanid="userWS"class="service.UserServiceImpl"></bean><!--实现类--><beanid="userService"parent="baseWebService"><propertyname="serviceBean"ref="userWS"/><propertyname="serviceClass"value="service.UserService"/><!--接口--></bean><!--安全验证--><beanid="authenticationHandler"class="handler.AuthenticationHandler"/></beans>
原码下载地址:/data/1371612