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" xmlns:context="http://www.springframework.org/schema/context"
|
4
|
xmlns:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws"
|
5
|
xmlns:p="http://http://www.springframework.org/schema/p"
|
6
|
xmlns:template="http://dnetlib.eu/springbeans/template"
|
7
|
xmlns:t="http://dnetlib.eu/springbeans/t"
|
8
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
9
|
|
10
|
xsi:schemaLocation="
|
11
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
12
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
|
13
|
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
|
14
|
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
|
15
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
|
16
|
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd"
|
17
|
default-autowire="no">
|
18
|
|
19
|
<bean id="validatorService" class="eu.dnetlib.validator.service.impl.ValidatorServiceImpl"
|
20
|
scope="singleton">
|
21
|
<property name="valManager" ref="validatorManager" />
|
22
|
</bean>
|
23
|
|
24
|
<!-- The web service bean -->
|
25
|
<bean id="validatorWebServiceImpl"
|
26
|
class="eu.dnetlib.clients.functionality.validator.ws.ValidatorWebServiceImpl">
|
27
|
<property name="service" ref="validatorService" />
|
28
|
</bean>
|
29
|
|
30
|
<!-- Service endpoint -->
|
31
|
<jaxws:endpoint
|
32
|
id="validatorWebService"
|
33
|
implementor="#validatorWebServiceImpl"
|
34
|
implementorClass="eu.dnetlib.clients.functionality.validator.ws.ValidatorWebService"
|
35
|
address="/validatorWebService"/>
|
36
|
|
37
|
<template:instance name="nkua.serviceRegistrationManager"
|
38
|
t:name="validatorServiceRegistrationManager"
|
39
|
t:service="validatorService"
|
40
|
t:endpoint="validatorWebService"/>
|
41
|
</beans>
|