Project

General

Profile

Download (2.21 KB) Statistics
| Branch: | Tag: | Revision:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:cxf="http://cxf.apache.org/core"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/core
http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">

<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

<bean id="dataPropertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:application.properties</value>
</list>
</property>
</bean>

<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" scope="singleton">
<property name="jndiName" value="java:comp/env/jdbc/DSETADB" />
</bean>

<bean id="dsPEP" class="fr.unicaen.iota.xi.client.DSPEP">
<constructor-arg type="java.lang.String" value="${xacml-url}" />
<constructor-arg type="java.lang.String" value="${pks-filename}" />
<constructor-arg type="java.lang.String" value="${pks-password}" />
<constructor-arg type="java.lang.String" value="${trust-pks-filename}" />
<constructor-arg type="java.lang.String" value="${trust-pks-password}" />
</bean>

<bean id="dsetaService" class="fr.unicaen.iota.dseta.service.DSeTaService">
<property name="dataSource" ref="dataSource" />
<property name="pep" ref="dsPEP" />
<property name="backend">
<bean class="fr.unicaen.iota.ds.commons.OperationsBackendSQL" />
</property>
</bean>

<jaxws:endpoint id="DSeTaEndpoint"
serviceName="dseta:DSeTaService"
implementor="#dsetaService"
address="/"
xmlns:dseta="urn:unicaen:iota:dseta:wsdl" />

</beans>
(1-1/2)