<?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:context= "Http://www.springframework.org/schema/context" xmlns:jaxrs= "Http://cxf.apache.org/jaxrs"
Xmlns:jdbc= "Http://www.springframework.org/schema/jdbc" xmlns:tx= "Http://www.springframework.org/schema/tx"
Xmlns:jpa= "HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/DATA/JPA" xmlns:task= "Http://www.springframework.org/schema/task"
Xsi:schemalocation= "
Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP http://www.springframework.org/schema/aop/spring-aop.xsd
Http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
Http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
Http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
Http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
Http://www.springframework.org/schema/data/jpa
Http://www.springframework.org/schema/data/jpa/spring-jpa.xsd ">
<jaxrs:server id= "Promotionservice" address= "/promotionservice" >
<jaxrs:serviceBeans>
<bean class= "Cn.itcast.bos.service.take_delivery.impl.PromotionServiceImpl"/>
</jaxrs:serviceBeans>
<jaxrs:inInterceptors>
<bean class= "Org.apache.cxf.interceptor.LoggingInInterceptor"/>
</jaxrs:inInterceptors>
<jaxrs:outInterceptors>
<bean class= "Org.apache.cxf.interceptor.LoggingOutInterceptor"/>
</jaxrs:outInterceptors>
</jaxrs:server>
<jaxrs:server id= "OrderService" address= "/orderservice" >
<jaxrs:serviceBeans>
<bean class= "Cn.itcast.bos.service.take_delivery.impl.OrderServiceImpl"/>
</jaxrs:serviceBeans>
<jaxrs:inInterceptors>
<bean class= "Org.apache.cxf.interceptor.LoggingInInterceptor"/>
</jaxrs:inInterceptors>
<jaxrs:outInterceptors>
<bean class= "Org.apache.cxf.interceptor.LoggingOutInterceptor"/>
</jaxrs:outInterceptors>
</jaxrs:server>
</beans>
Server configuration for Spring core configuration file _webservice