当前位置: 代码迷 >> Web前端 >> spring中配备加入 WebService
  详细解决方案

spring中配备加入 WebService

热度:179   发布时间:2012-07-29 15:26:13.0
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>


  相关解决方案