<?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:aop="http://www.springframework.org/schema/aop" ??? xmlns:tx="http://www.springframework.org/schema/tx" ??? 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://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.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"> ??? <!—注意上面标签配置与常规spring的不同--> ??? <import resource="classpath:META-INF/cxf/cxf.xml" /> ??? <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> ??? <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> ? ??? <jaxws:endpoint id="helloWorld" mplementor="server.HelloWorldImpl" ?????? address="/helloWorld" /> </beans> ? |