| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 | <?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:context="http://www.springframework.org/schema/context"       xmlns:tx="http://www.springframework.org/schema/tx"       xmlns:aop="http://www.springframework.org/schema/aop"       xmlns:jaxws="http://cxf.apache.org/jaxws"       xmlns:p="http://www.springframework.org/schema/p"       xmlns:cache="http://www.springframework.org/schema/cache"       xsi:schemaLocation="			http://www.springframework.org/schema/beans			http://www.springframework.org/schema/beans/spring-beans-4.0.xsd			http://www.springframework.org/schema/context			http://www.springframework.org/schema/context/spring-context-4.0.xsd			http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd			http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd			http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd			http://www.springframework.org/schema/cache        	http://www.springframework.org/schema/cache/spring-cache-4.0.xsd">				<import resource="classpath:META-INF/cxf/cxf.xml"/>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>  				<cache:annotation-driven  cache-manager="cxfcacheManager"/>    <bean id="cxfcacheManager"          class="org.springframework.cache.ehcache.EhCacheCacheManager" p:cacheManager-ref="cxfehcache"/>    <!-- EhCache library setup -->    <bean id="cxfehcache"          class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:configLocation="classpath:ehcache/ehcache-cxf.xml"/>	<context:component-scan base-package="com.cxfws">		<context:exclude-filter type="annotation"			expression="org.springframework.stereotype.Controller" />	</context:component-scan>			   	<!-- http://192.168.30.140:8081/jygl/services/diexcWebService?wsdl -->	<!--	<jaxws:endpoint id="diexcWebService"		implementor="com.cxfws.config.service.DiexcService" address="/diexcWebService">		<jaxws:features>			<bean class="org.apache.cxf.feature.LoggingFeature" />		</jaxws:features>	</jaxws:endpoint>    -->        <bean id="cxfServiceQuickReleaseFactory" class="com.cxfws.config.service.CxfServiceQuickReleaseFactory">    	<property name="scanPackage" value="classpath*:com/cxfws/**/service/impl/*" />     	<property name="quickRelease" value="true"></property>    	<!--    	<property name="jaxwsfeatures">    		<list>    			<bean class="org.apache.cxf.feature.LoggingFeature" />    		</list>    	</property>    	-->    	<property name="jaxwsinterceptors">    		<list>    			<bean class="com.cxfws.config.soapheader.AuthIntercetpr" />    		</list>    	</property>    	    </bean>        <jaxws:client id="testClient" serviceClass="com.cxfws.demo.service.impl.IDiexcService" address="http://192.168.30.140:18088/diexcWebService" >    	<jaxws:outInterceptors>    		<bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>    		<!-- 自定义拦截器 -->           	<bean class="com.cxfws.config.soapheader.AddSoapHeader"/>     	</jaxws:outInterceptors>    </jaxws:client>       </beans><!-- END SNIPPET: beans -->
 |