读书人

spring中配备加入 WebService

发布时间: 2012-07-29 15:26:13 作者: rapoo

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>


读书人网 >Web前端

热点推荐