javaWeb服务详解【客户端调用】(含源代码,测试通过,注释) ——applicationContext.xml
生活随笔
收集整理的這篇文章主要介紹了
javaWeb服务详解【客户端调用】(含源代码,测试通过,注释) ——applicationContext.xml
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<?xml version="1.0" encoding="UTF-8"?>
<beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:p="http://www.springframework.org/schema/p"xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd"><!-- dept --><bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"><property name="serviceClass" value="org.service.IDeptService"></property><property name="address" value="http://localhost:8080/spring_clhop09_EmpService/services/getDepts?wsdl"></property></bean><bean id="wsClient" class="org.service.IDeptService" factory-bean="clientFactory" factory-method="create"></bean><!-- emp --><bean id="clientFactoryEmp" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"><property name="serviceClass" value="org.service.IEmpService"></property><property name="address" value="http://localhost:8080/spring_clhop09_EmpService/services/getEmps?wsdl"></property></bean><bean id="wsClientEmp" class="org.service.IEmpServiceTest" factory-bean="clientFactoryEmp" factory-method="create"></bean>
</beans>
總結
以上是生活随笔為你收集整理的javaWeb服务详解【客户端调用】(含源代码,测试通过,注释) ——applicationContext.xml的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 查看谁使用Mailtrack免费Gmai
- 下一篇: javaWeb服务详解【客户端调用】(含