一:spring配置文件
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"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">
<!-- 終端查詢WS-->
<jaxws:client id="terminalQueryFacade"
serviceClass="cn.linkea.tmsmng.common.service.facade.TerminalQueryFacade"
address="${tmsmng.server.url}/services/terminalQueryFacade?wsdl" />
<!-- 終端轉移操作客戶端 -->
<jaxws:client id="terminalShiftFacade"
serviceClass="cn.linkea.tmsmng.common.service.facade.TerminalShiftFacade"
address="${tmsmng.server.url}/services/terminalShiftFacadeImpl?wsdl" />
</beans>
二:引入接口直接調用