1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:
aop=
"http://www.springframework.org/schema/aop"
5 xmlns:
tx=
"http://www.springframework.org/schema/tx"
7 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
8 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
9 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
12 resource=
"classpath:/org/argeo/slc/castor/spring/applicationContext.xml" />
14 resource=
"classpath:/org/argeo/slc/xml/spring/applicationContext.xml" />
16 <bean name=
"slcExecutionRequestEp"
17 class=
"org.argeo.slc.ws.process.SlcExecutionRequestEp">
18 <constructor-arg ref=
"slcExecutionDao" />
19 <property name=
"marshaller" ref=
"slcDefault.castor.marshaller" />
20 <property name=
"unmarshaller"
21 ref=
"slcDefault.castor.marshaller" />
24 <bean name=
"slcExecutionStepsRequestEp"
25 class=
"org.argeo.slc.ws.process.SlcExecutionStepsRequestEp">
26 <constructor-arg ref=
"slcExecutionDao" />
27 <property name=
"marshaller" ref=
"slcDefault.castor.marshaller" />
28 <property name=
"unmarshaller"
29 ref=
"slcDefault.castor.marshaller" />
32 <bean name=
"createTreeTestResultRequestEp"
33 class=
"org.argeo.slc.ws.test.tree.CreateTreeTestResultRequestEp">
34 <constructor-arg ref=
"testResultDao" />
35 <constructor-arg ref=
"testManagerService" />
36 <property name=
"marshaller" ref=
"slcDefault.castor.marshaller" />
37 <property name=
"unmarshaller"
38 ref=
"slcDefault.castor.marshaller" />
41 <bean name=
"closeTreeTestResultRequestEp"
42 class=
"org.argeo.slc.ws.test.tree.CloseTreeTestResultRequestEp">
43 <constructor-arg ref=
"testResultDao" />
44 <property name=
"marshaller" ref=
"slcDefault.castor.marshaller" />
45 <property name=
"unmarshaller"
46 ref=
"slcDefault.castor.marshaller" />
49 <bean name=
"resultPartRequestEp"
50 class=
"org.argeo.slc.ws.test.tree.ResultPartRequestEp">
51 <constructor-arg ref=
"testResultDao" />
52 <constructor-arg ref=
"testManagerService" />
53 <property name=
"marshaller" ref=
"slcDefault.castor.marshaller" />
54 <property name=
"unmarshaller"
55 ref=
"slcDefault.castor.marshaller" />
58 <bean id=
"endPointMapping"
59 class=
"org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping">
60 <property name=
"mappings">
64 key=
"{http://argeo.org/projects/slc/schemas}slc-execution-request">
68 key=
"{http://argeo.org/projects/slc/schemas}slc-execution-status-request">
72 key=
"{http://argeo.org/projects/slc/schemas}slc-execution-steps-request">
73 slcExecutionStepsRequestEp
76 key=
"{http://argeo.org/projects/slc/schemas}create-tree-test-result-request">
77 createTreeTestResultRequestEp
80 key=
"{http://argeo.org/projects/slc/schemas}close-tree-test-result-request">
81 closeTreeTestResultRequestEp
84 key=
"{http://argeo.org/projects/slc/schemas}result-part-request">
90 <property name=
"interceptors">
92 class=
"org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor" />
96 <bean id=
"slcDefinition"
97 class=
"org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
98 <property name=
"schema" ref=
"slcDefault.xml.xsdSchema" />
99 <property name=
"portTypeName" value=
"Slc" />
100 <property name=
"targetNamespace"
101 value=
"http://argeo.org/projects/slc/definitions" />
102 <property name=
"requestSuffix" value=
"-request" />
105 <bean class=
"org.argeo.slc.ws.CustomSoapExceptionResolver" />
107 <!-- Web Services transactions -->
109 <aop:pointcut id=
"epMethods"
110 expression=
"execution(* org.springframework.ws.server.endpoint.MessageEndpoint.invoke(..))" />
111 <aop:advisor advice-ref=
"epAdvice" pointcut-ref=
"epMethods" />
114 <tx:advice id=
"epAdvice" transaction-manager=
"transactionManager">
116 <tx:method name=
"*" propagation=
"REQUIRED" />