| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 | <?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:tx="http://www.springframework.org/schema/tx"	xmlns:context="http://www.springframework.org/schema/context"	xmlns:aop="http://www.springframework.org/schema/aop" xmlns:jaxws="http://cxf.apache.org/jaxws"	xmlns:jaxrs="http://cxf.apache.org/jaxrs"	xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"	xsi:schemaLocation="		http://www.springframework.org/schema/context           http://www.springframework.org/schema/context/spring-context-3.1.xsd        http://www.springframework.org/schema/aop		http://www.springframework.org/schema/aop/spring-aop-3.1.xsd        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd		http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd		http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd		http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">	<import resource="classpath:META-INF/cxf/cxf.xml"/>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>		<!--  	<jaxws:endpoint id="cxfws" implementor="com.cxfws.ws.CxfwsImpl" address="/cxfws"/>		<jaxws:endpoint id="cxfws"		implementor="com.cxfws.ws.CxfwsImpl" address="/cxfwsService">		<jaxws:features>			<bean class="org.apache.cxf.feature.LoggingFeature" />		</jaxws:features>	</jaxws:endpoint>	-->		<!-- http://127.0.0.1:8080/znjg/service/userWebService?wsdl -->	<jaxws:endpoint id="userWebService"		implementor="com.jsjty.web.service.impl.UserWebService" address="/userWebService">		<jaxws:features>			<bean class="org.apache.cxf.feature.LoggingFeature" />		</jaxws:features>	</jaxws:endpoint>			<!--  	<http-conf:conduit name="*.http-conduit">                 <http-conf:client ConnectionTimeout="5000" ReceiveTimeout="10000"/>          </http-conf:conduit>	-->	    <jaxws:client id="localhostUserClient" serviceClass="com.jsjty.web.service.IUserWebService" address="http://localhost:8081/znjg/service/userWebService">    	<jaxws:outInterceptors>    		<bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>    	</jaxws:outInterceptors>    </jaxws:client>	    <jaxws:client id="oaUserClient" serviceClass="com.jsjty.web.client.OAUserWebService" address="http://10.1.30.50:8083/gkoa/services/userWebService">    	<jaxws:outInterceptors>    		<bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>    	</jaxws:outInterceptors>    </jaxws:client>	    <jaxws:client id="jsjyUserClient" serviceClass="com.jsjty.web.client.JsjyUserWebService" address="http://10.1.30.117:18089/userService">    	<jaxws:outInterceptors>    		<bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>    	</jaxws:outInterceptors>    </jaxws:client>    <jaxws:client id="aqUserClient" serviceClass="com.jsjty.web.client.AQUserWebService" address="http://10.1.30.114:8089/userNoHandlerService">    	<jaxws:outInterceptors>    		<bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>    	</jaxws:outInterceptors>    </jaxws:client>    <jaxws:client id="zyUserClient" serviceClass="com.jsjty.web.client.ZYUserWebService" address="http://10.1.30.115:8080/gkzy/ws/soap/user">    	<jaxws:outInterceptors>    		<bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>    	</jaxws:outInterceptors>    </jaxws:client>    		<!-- 客户端密码配置Bean定义		<bean id="passwordCallback" class="com.jsjty.web.client.ClientValidateCallback"> 		<property name="userMap"> 			<map> 				<entry key="admin" value="098f6bcd4621d373cade4e832627b4f6" /> 			</map> 		</property> 	</bean> 	<jaxws:client id="aqUserClient" serviceClass="com.jsjty.web.client.AQUserWebService" 		address="http://192.168.30.140:8088/userService">       <jaxws:outInterceptors> 		<bean class="org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor"> 			<property name="properties"> 				<map> 					<entry key="action" value="UsernameToken" /> 					<entry key="user" value="admin" /> 					<entry key="passwordType" value="PasswordText" /> 					<entry key="passwordCallbackRef" value-ref="passwordCallback" /> 				</map> 			</property> 		</bean> 		</jaxws:outInterceptors> 	</jaxws:client> --> 					<!-- WebService 	<bean class="org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter">		<property name="baseAddress"				  value="http://${webService.url}:${webService.port}/" />	</bean>	-->      </beans>
 |