]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.server/src/main/resources/org/argeo/slc/server/client/spring.xml
@update:79; First end-to-end integration test
[gpl/argeo-slc.git] / runtime / org.argeo.slc.server / src / main / resources / org / argeo / slc / server / client / spring.xml
index 54080762ca715e03853f8ff85a50249fe694ed40..c9af00057c720d9cc7d81fd1acc76b1e62e0f346 100644 (file)
@@ -7,5 +7,13 @@
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
        default-lazy-init="true">
 
-       <import resource="classpath:org/argeo/slc/server/client/spring.xml" />
+       <import resource="classpath:org/argeo/slc/castor/spring.xml" />
+
+       <!-- Http client -->
+       <bean id="slcDefault.serverHttpClient" class="org.argeo.slc.server.client.impl.SlcServerHttpClientImpl"
+               lazy-init="true">
+               <property name="unmarshaller" ref="slcDefault.castor.marshaller" />
+               <property name="marshaller" ref="slcDefault.castor.marshaller" />
+               <property name="baseUrl" value="http://localhost:7070/org.argeo.slc.webapp/" />
+       </bean>
 </beans>
\ No newline at end of file