]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/test/resources/org/argeo/slc/castor/applicationContext.xml
e6334a978df37f553afaca79f20174c7fc77e385
[gpl/argeo-slc.git] / org.argeo.slc.core / src / test / resources / org / argeo / slc / castor / applicationContext.xml
1 <beans xmlns="http://www.springframework.org/schema/beans"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
4
5 <bean id="marshaller"
6 class="org.springframework.oxm.castor.CastorMarshaller">
7 <property name="mappingLocations">
8 <list>
9 <value>
10 classpath:org/argeo/slc/castor/process/mapping.xml
11 </value>
12 <value>
13 classpath:org/argeo/slc/castor/test/tree/mapping.xml
14 </value>
15 </list>
16 </property>
17 </bean>
18
19 <bean id="webServiceTemplate"
20 class="org.springframework.ws.client.core.WebServiceTemplate">
21 <constructor-arg ref="messageFactory" />
22 <property name="marshaller" ref="marshaller" />
23 <property name="unmarshaller" ref="marshaller" />
24 <property name="defaultUri"
25 value="http://localhost:8080/org.argeo.slc.webapp/slcService/" />
26 </bean>
27
28 <bean id="messageFactory"
29 class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory" />
30
31 <bean id="schema"
32 class="org.springframework.xml.xsd.SimpleXsdSchema">
33 <property name="xsd"
34 value="classpath:/org/argeo/slc/xml/slc.xsd" />
35 </bean>
36 </beans>