<?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:jaxws="http://cxf.apache.org/jaxws"
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">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<!--发布webService服务-->
<jaxws:endpoint id="pageInquiryScenicAreaSrv" implementor="com.test.bigdata.webService.service.PageInquiryScenicAreaSrvImpl" address="/PageInquiryScenicAreaSrv"/>
<!--客户端测试-->
<jaxws:client id="pageInquiryScenicAreaSrvClient" serviceClass="com.test.bigdata.webService.service.PageInquiryScenicAreaSrv" address="http://127.0.0.1:8088/webService/PageInquiryScenicAreaSrv"></jaxws:client>
</beans>
网友评论