]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.core/src/test/resources/org/argeo/slc/castor/applicationContext.xml
Improve Spring templates and defaults
[gpl/argeo-slc.git] / org.argeo.slc.core / src / test / resources / org / argeo / slc / castor / applicationContext.xml
index e6334a978df37f553afaca79f20174c7fc77e385..eb0b2c3d62807238d3c226db2e4f19d911f28ee1 100644 (file)
@@ -2,35 +2,9 @@
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
 \r
-       <bean id="marshaller"\r
-               class="org.springframework.oxm.castor.CastorMarshaller">\r
-               <property name="mappingLocations">\r
-                       <list>\r
-                               <value>\r
-                                       classpath:org/argeo/slc/castor/process/mapping.xml\r
-                               </value>\r
-                               <value>\r
-                                       classpath:org/argeo/slc/castor/test/tree/mapping.xml\r
-                               </value>\r
-                       </list>\r
-               </property>\r
-       </bean>\r
+       <import\r
+               resource="classpath:/org/argeo/slc/castor/spring/applicationContext.xml" />\r
+       <import\r
+               resource="classpath:/org/argeo/slc/ws/client/spring/applicationContext.xml" />\r
 \r
-       <bean id="webServiceTemplate"\r
-               class="org.springframework.ws.client.core.WebServiceTemplate">\r
-               <constructor-arg ref="messageFactory" />\r
-               <property name="marshaller" ref="marshaller" />\r
-               <property name="unmarshaller" ref="marshaller" />\r
-               <property name="defaultUri"\r
-                       value="http://localhost:8080/org.argeo.slc.webapp/slcService/" />\r
-       </bean>\r
-\r
-       <bean id="messageFactory"\r
-               class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory" />\r
-\r
-       <bean id="schema"\r
-               class="org.springframework.xml.xsd.SimpleXsdSchema">\r
-               <property name="xsd"\r
-                       value="classpath:/org/argeo/slc/xml/slc.xsd" />\r
-       </bean>\r
 </beans>\r