annotate src/main/webapp/WEB-INF/beans.xml @ 0:6a163b1bcd4d

first checkin
author casties
date Thu, 05 May 2011 16:19:03 +0200
parents
children ebcc41509c2e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6a163b1bcd4d first checkin
casties
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
2 <beans xmlns="http://www.springframework.org/schema/beans"
6a163b1bcd4d first checkin
casties
parents:
diff changeset
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6a163b1bcd4d first checkin
casties
parents:
diff changeset
4 xmlns:jaxws="http://cxf.apache.org/jaxws"
6a163b1bcd4d first checkin
casties
parents:
diff changeset
5 xmlns:jaxrs="http://cxf.apache.org/jaxrs"
6a163b1bcd4d first checkin
casties
parents:
diff changeset
6 xsi:schemaLocation="
6a163b1bcd4d first checkin
casties
parents:
diff changeset
7 http://www.springframework.org/schema/beans
6a163b1bcd4d first checkin
casties
parents:
diff changeset
8 http://www.springframework.org/schema/beans/spring-beans.xsd
6a163b1bcd4d first checkin
casties
parents:
diff changeset
9 http://cxf.apache.org/jaxws
6a163b1bcd4d first checkin
casties
parents:
diff changeset
10 http://cxf.apache.org/schemas/jaxws.xsd
6a163b1bcd4d first checkin
casties
parents:
diff changeset
11 http://cxf.apache.org/jaxrs
6a163b1bcd4d first checkin
casties
parents:
diff changeset
12 http://cxf.apache.org/schemas/jaxrs.xsd
6a163b1bcd4d first checkin
casties
parents:
diff changeset
13 ">
6a163b1bcd4d first checkin
casties
parents:
diff changeset
14
6a163b1bcd4d first checkin
casties
parents:
diff changeset
15 <description>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
16 Configuration digilibservice
6a163b1bcd4d first checkin
casties
parents:
diff changeset
17 </description>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
18
6a163b1bcd4d first checkin
casties
parents:
diff changeset
19 <import resource="classpath:META-INF/cxf/cxf.xml"/>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
20 <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" />
6a163b1bcd4d first checkin
casties
parents:
diff changeset
21 <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
22 <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
23
6a163b1bcd4d first checkin
casties
parents:
diff changeset
24 <!-- Here the REST-Service Endpoint Beans -->
6a163b1bcd4d first checkin
casties
parents:
diff changeset
25 <bean id="rest" class="info.textgrid.rest">
6a163b1bcd4d first checkin
casties
parents:
diff changeset
26 </bean>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
27
6a163b1bcd4d first checkin
casties
parents:
diff changeset
28 <jaxws:endpoint id="digilibservice" wsdlLocation="/WEB-INF/DigilibService.wsdl"
6a163b1bcd4d first checkin
casties
parents:
diff changeset
29 implementor="#rest" address="/service">
6a163b1bcd4d first checkin
casties
parents:
diff changeset
30 </jaxws:endpoint>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
31
6a163b1bcd4d first checkin
casties
parents:
diff changeset
32 <!-- Rest-Endpoint Configuration -->
6a163b1bcd4d first checkin
casties
parents:
diff changeset
33 <jaxrs:server id="root" address="/rest">
6a163b1bcd4d first checkin
casties
parents:
diff changeset
34 <jaxrs:serviceBeans>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
35 <ref bean="rest" />
6a163b1bcd4d first checkin
casties
parents:
diff changeset
36 </jaxrs:serviceBeans>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
37 </jaxrs:server>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
38
6a163b1bcd4d first checkin
casties
parents:
diff changeset
39 </beans>