|
<?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">
|
|
|
|
<!-- beans and configurations defined in the cxf jars -->
|
|
<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" />
|
|
|
|
<!-- post-processor which replaces placeholders like ${test} with values from property files -->
|
|
<bean id="dataPropertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
<property name="locations">
|
|
<list>
|
|
<value>classpath:application.properties</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<!-- =========================================================== -->
|
|
<!-- Service layer definitions -->
|
|
<!-- =========================================================== -->
|
|
|
|
<bean id="omega" class="fr.unicaen.iota.application.soap.OMeGa">
|
|
</bean>
|
|
|
|
|
|
<!-- =========================================================== -->
|
|
<!-- CXF (Web service) configuration -->
|
|
<!-- =========================================================== -->
|
|
|
|
<!-- publish the Web service endpoint and it's implementing bean -->
|
|
<jaxws:endpoint id="OMeGaEndpoint"
|
|
serviceName="ser:IoTaService"
|
|
implementor="#omega"
|
|
address="/"
|
|
xmlns:ser="urn:unicaen:iota:omega:wsdl" />
|
|
|
|
</beans>
|