]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/WEB-INF/slc-ws-servlet.xml
Add SLC UI servlet
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / WEB-INF / slc-ws-servlet.xml
index ef04896fc7559878ee5537238dfd2139621d142a..18dce9a8a2cc03460055c40607abf1db654e1227 100644 (file)
@@ -1,64 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <beans xmlns="http://www.springframework.org/schema/beans"\r
        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.0.xsd">\r
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
 \r
-       <bean name="slcExecutionRequestEp"\r
-               class="org.argeo.slc.ws.process.SlcExecutionRequestEp">\r
-               <constructor-arg ref="slcExecutionDao" />\r
-               <property name="marshaller" ref="marshaller" />\r
-               <property name="unmarshaller" ref="marshaller" />\r
-       </bean>\r
-\r
-       <bean name="slcExecutionStepsRequestEp"\r
-               class="org.argeo.slc.ws.process.SlcExecutionStepsRequestEp">\r
-               <constructor-arg ref="slcExecutionDao" />\r
-               <property name="marshaller" ref="marshaller" />\r
-               <property name="unmarshaller" ref="marshaller" />\r
-       </bean>\r
-\r
-       <bean id="marshaller"\r
-               class="org.springframework.oxm.castor.CastorMarshaller">\r
-               <property name="mappingLocation"\r
-                       value="classpath:org/argeo/slc/castor/process/mapping.xml" />\r
-       </bean>\r
-\r
-       <bean id="endPointMapping"\r
-               class="org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping">\r
-               <property name="mappings">\r
-                       <props>\r
-                               <prop\r
-                                       key="{http://argeo.org/projects/slc/schemas}slc-execution-request">\r
-                                       slcExecutionRequestEp\r
-                               </prop>\r
-                               <prop\r
-                                       key="{http://argeo.org/projects/slc/schemas}slc-execution-steps-request">\r
-                                       slcExecutionStepsRequestEp\r
-                               </prop>\r
-                       </props>\r
-               </property>\r
-               <property name="interceptors">\r
-                       <bean\r
-                               class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor" />\r
-               </property>\r
-       </bean>\r
-\r
-       <bean id="slcDefinition"\r
-               class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">\r
-               <property name="schema" ref="schema" />\r
-               <property name="portTypeName" value="Slc" />\r
-               <property name="locationUri"\r
-                       value="http://localhost:8080/argeo-slc-ws/slcService/" />\r
-               <property name="targetNamespace"\r
-                       value="http://argeo.org/projects/slc/definitions" />\r
-               <property name="requestSuffix" value="-request" />\r
-       </bean>\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
-\r
-       <bean class="org.argeo.slc.ws.CustomSoapExceptionResolver" />\r
+       <import resource="classpath:/org/argeo/slc/server/spring/slc-ws-servlet.xml"/>
 </beans>
\ No newline at end of file