0
|
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:jaxws="http://cxf.apache.org/jaxws"
|
|
5 xmlns:jaxrs="http://cxf.apache.org/jaxrs"
|
|
6 xsi:schemaLocation="
|
|
7 http://www.springframework.org/schema/beans
|
|
8 http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
9 http://cxf.apache.org/jaxws
|
|
10 http://cxf.apache.org/schemas/jaxws.xsd
|
|
11 http://cxf.apache.org/jaxrs
|
|
12 http://cxf.apache.org/schemas/jaxrs.xsd
|
|
13 ">
|
|
14
|
|
15 <description>
|
|
16 Configuration digilibservice
|
|
17 </description>
|
|
18
|
|
19 <import resource="classpath:META-INF/cxf/cxf.xml"/>
|
|
20 <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" />
|
|
21 <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
|
|
22 <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
|
|
23
|
|
24 <!-- Here the REST-Service Endpoint Beans -->
|
2
|
25 <bean id="scaler" class="info.textgrid.middleware.digilib.services.scaler.Scaler">
|
0
|
26 </bean>
|
|
27
|
|
28 <jaxws:endpoint id="digilibservice" wsdlLocation="/WEB-INF/DigilibService.wsdl"
|
2
|
29 implementor="#scaler" address="/service">
|
0
|
30 </jaxws:endpoint>
|
|
31
|
2
|
32 <!-- Rest-Endpoint Configuration
|
0
|
33 <jaxrs:server id="root" address="/rest">
|
|
34 <jaxrs:serviceBeans>
|
|
35 <ref bean="rest" />
|
|
36 </jaxrs:serviceBeans>
|
2
|
37 </jaxrs:server> -->
|
0
|
38
|
|
39 </beans>
|