spring中配置加入 WebService

<?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:context="http://www.springframework.org/schema/context"

xmlns:jaxws="http://cxf.apache.org/jaxws"

xmlns:customer="http://customerservice.example.com/"

xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd

http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd

http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd

http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd

">

<jaxws:client id="gpsService"

address="http://192.168.3.62:83/Service.asmx"

serviceClass="net.gpschina.ServiceSoap">

</jaxws:client>

</beans>


猜你喜欢

转载自smartgwt.iteye.com/blog/1212764
今日推荐