wsclient-Context.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:context="http://www.springframework.org/schema/context"
  5. xmlns:tx="http://www.springframework.org/schema/tx"
  6. xmlns:aop="http://www.springframework.org/schema/aop"
  7. xmlns:jaxws="http://cxf.apache.org/jaxws"
  8. xsi:schemaLocation="
  9. http://www.springframework.org/schema/beans
  10. http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  11. http://www.springframework.org/schema/context
  12. http://www.springframework.org/schema/context/spring-context-3.0.xsd
  13. http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
  14. http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
  15. http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
  16. <jaxws:endpoint id="userWebService"
  17. implementor="com.cxfws.web.service.UserWebService" address="/userWebService">
  18. <jaxws:features>
  19. <bean class="org.apache.cxf.feature.LoggingFeature" />
  20. </jaxws:features>
  21. </jaxws:endpoint>
  22. <!-- http://127.0.0.1:8080/exchangeWeb/service/userWebService?wsdl -->
  23. <jaxws:client id="localhostUserClient" serviceClass="com.cxfws.web.service.UserWebService" address="http://127.0.0.1:8080/exchangeWeb/service/userWebService">
  24. <jaxws:outInterceptors>
  25. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  26. </jaxws:outInterceptors>
  27. </jaxws:client>
  28. <jaxws:client id="aqUserClient" serviceClass="com.cxfws.web.service.AQUserWebService" address="http://192.168.30.141:8088/userService" >
  29. <jaxws:outInterceptors>
  30. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  31. <!-- 自定义拦截器 -->
  32. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  33. </jaxws:outInterceptors>
  34. </jaxws:client>
  35. <!-- 港区 -->
  36. <jaxws:client id="gqClient" serviceClass="com.cxfws.client.service.gq.GqWebService" address="http://192.168.30.141:8088/gqService" >
  37. <jaxws:outInterceptors>
  38. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  39. <!-- 自定义拦截器 -->
  40. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  41. </jaxws:outInterceptors>
  42. </jaxws:client>
  43. <!-- 经营人 -->
  44. <jaxws:client id="jyrClient" serviceClass="com.cxfws.client.service.jyr.JyrWebService" address="http://192.168.30.141:8088/jyrService" >
  45. <jaxws:outInterceptors>
  46. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  47. <!-- 自定义拦截器 -->
  48. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  49. </jaxws:outInterceptors>
  50. </jaxws:client>
  51. <!-- 码头 -->
  52. <jaxws:client id="mtClient" serviceClass="com.cxfws.client.service.mt.MtWebService" address="http://192.168.30.141:8088/mtServicee" >
  53. <jaxws:outInterceptors>
  54. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  55. <!-- 自定义拦截器 -->
  56. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  57. </jaxws:outInterceptors>
  58. </jaxws:client>
  59. <!-- 泊位 -->
  60. <jaxws:client id="bwClient" serviceClass="com.cxfws.client.service.bw.BwWebService" address="http://192.168.30.141:8088/bwService" >
  61. <jaxws:outInterceptors>
  62. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  63. <!-- 自定义拦截器 -->
  64. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  65. </jaxws:outInterceptors>
  66. </jaxws:client>
  67. <!-- 储罐 -->
  68. <jaxws:client id="cgClient" serviceClass="com.cxfws.client.service.cg.CgWebService" address="http://192.168.30.141:8088/cgService" >
  69. <jaxws:outInterceptors>
  70. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  71. <!-- 自定义拦截器 -->
  72. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  73. </jaxws:outInterceptors>
  74. </jaxws:client>
  75. <!-- 仓库 -->
  76. <jaxws:client id="ckClient" serviceClass="com.cxfws.client.service.ck.CkWebService" address="http://192.168.30.141:8088/ckService" >
  77. <jaxws:outInterceptors>
  78. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  79. <!-- 自定义拦截器 -->
  80. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  81. </jaxws:outInterceptors>
  82. </jaxws:client>
  83. <!-- 堆场 -->
  84. <jaxws:client id="jyrdcClient" serviceClass="com.cxfws.client.service.jyrdc.JyrDcWebService" address="http://192.168.30.141:8088/jyrdcService" >
  85. <jaxws:outInterceptors>
  86. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  87. <!-- 自定义拦截器 -->
  88. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  89. </jaxws:outInterceptors>
  90. </jaxws:client>
  91. <!-- 人员 -->
  92. <jaxws:client id="ryClient" serviceClass="com.cxfws.client.service.ry.RyqkxxWebService" address="http://192.168.30.141:8088/ryjbqkxxService" >
  93. <jaxws:outInterceptors>
  94. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  95. <!-- 自定义拦截器 -->
  96. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  97. </jaxws:outInterceptors>
  98. </jaxws:client>
  99. <!-- 设施设备 -->
  100. <jaxws:client id="sssbClient" serviceClass="com.cxfws.client.service.sssb.GksssbWebService" address="http://192.168.30.141:8088/gksssbService" >
  101. <jaxws:outInterceptors>
  102. <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
  103. <!-- 自定义拦截器 -->
  104. <bean class="com.cxfws.client.SoapHeader.AddSoapHeader"/>
  105. </jaxws:outInterceptors>
  106. </jaxws:client>
  107. </beans>
  108. <!-- END SNIPPET: beans -->