11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <beans xmlns =" http://www.springframework.org/schema/beans" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xmlns : context =" http://www.springframework.org/schema/context"
4- xsi : schemaLocation =" http://www.springframework.org/schema/beans
5- http://www.springframework.org/schema/beans/spring-beans.xsd
6- http://www.springframework.org/schema/context
7- http://www.springframework.org/schema/context/spring-context.xsd" >
2+ <beans xmlns =" http://www.springframework.org/schema/beans"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd" >
85
9- <description >
10- Base context for the web service clients.
6+ <description >
7+ Base context for the web service clients.
118
12- This is to be extended for each client, which should define the security
13- interceptor to use.
14- </description >
9+ This is to be extended for each client, which should define the security
10+ interceptor to use.
11+ </description >
1512
16- <!-- Client -->
17- <bean id =" baseClient" class =" ${client.class}" scope =" prototype" abstract =" true" >
18- <property name =" marshaller" ref =" marshaller" />
19- <property name =" unmarshaller" ref =" marshaller" />
20- <property name =" interceptors" >
21- <list >
22- <ref bean =" payloadValidatingInterceptor" />
23- <ref bean =" securityInterceptor" />
24- </list >
25- </property >
26- </bean >
13+ <!-- Client -->
14+ <bean id =" baseClient" class =" ${client.class}" scope =" prototype"
15+ abstract =" true" >
16+ <property name =" marshaller" ref =" marshaller" />
17+ <property name =" unmarshaller" ref =" marshaller" />
18+ <property name =" interceptors" >
19+ <list >
20+ <ref bean =" payloadValidatingInterceptor" />
21+ <ref bean =" securityInterceptor" />
22+ </list >
23+ </property >
24+ </bean >
2725
28- <!-- Marshaller -->
29- <bean id =" marshaller" class =" ${marshaller.class}" >
30- <property name =" packagesToScan" value =" ${marshaller.packagesToScan}" />
31- </bean >
26+ <!-- Marshaller -->
27+ <bean id =" marshaller" class =" ${marshaller.class}" >
28+ <property name =" packagesToScan" value =" ${marshaller.packagesToScan}" />
29+ </bean >
3230
33- <!-- Payload validator interceptor -->
34- <bean id =" payloadValidatingInterceptor" class =" ${interceptor.payloadValidator.class}" >
35- <property name =" schema" value =" ${schema.path}" />
36- <property name =" validateRequest"
37- value =" ${interceptor.payloadValidator.validateRequest}" />
38- <property name =" validateResponse"
39- value =" ${interceptor.payloadValidator.validateResponse}" />
40- </bean >
31+ <!-- Payload validator interceptor -->
32+ <bean id =" payloadValidatingInterceptor" class =" ${interceptor.payloadValidator.class}" >
33+ <property name =" schema" value =" ${schema.path}" />
34+ <property name =" validateRequest"
35+ value =" ${interceptor.payloadValidator.validateRequest}" />
36+ <property name =" validateResponse"
37+ value =" ${interceptor.payloadValidator.validateResponse}" />
38+ </bean >
4139
4240</beans >
0 commit comments