12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?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:tx="http://www.springframework.org/schema/tx"
- xmlns:aop="http://www.springframework.org/schema/aop"
- xmlns:jaxws="http://cxf.apache.org/jaxws"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-3.0.xsd
- http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
- http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
- http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
-
- <import resource="classpath:META-INF/cxf/cxf.xml"/>
- <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
-
- <context:annotation-config/>
- <!-- <aop:aspectj-autoproxy proxy-target-class="true"></aop:aspectj-autoproxy> 强制使用CGLIB -->
- <aop:aspectj-autoproxy></aop:aspectj-autoproxy>
-
- <context:component-scan base-package="com.cxfws">
- <context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller" />
- </context:component-scan>
-
-
- <!--
- <jaxws:endpoint id="cxfws" implementor="com.cxfws.ws.CxfwsImpl" address="/cxfws"/>
- -->
- <!-- WebService
- <bean class="org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter">
- <property name="baseAddress"
- value="http://${webService.url}:${webService.port}/" />
- </bean>
- -->
- </beans>
|