annotate service/src/main/webapp/WEB-INF/beans.xml @ 7:39c4892724ae

new version with maven modules for service and client.
author casties
date Thu, 16 Jun 2011 17:33:06 +0200
parents src/main/webapp/WEB-INF/beans.xml@ebcc41509c2e
children
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 -->
2
ebcc41509c2e new package names
casties
parents: 0
diff changeset
25 <bean id="scaler" class="info.textgrid.middleware.digilib.services.scaler.Scaler">
0
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"
2
ebcc41509c2e new package names
casties
parents: 0
diff changeset
29 implementor="#scaler" address="/service">
0
6a163b1bcd4d first checkin
casties
parents:
diff changeset
30 </jaxws:endpoint>
6a163b1bcd4d first checkin
casties
parents:
diff changeset
31
2
ebcc41509c2e new package names
casties
parents: 0
diff changeset
32 <!-- Rest-Endpoint Configuration
0
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>
2
ebcc41509c2e new package names
casties
parents: 0
diff changeset
37 </jaxrs:server> -->
0
6a163b1bcd4d first checkin
casties
parents:
diff changeset
38
6a163b1bcd4d first checkin
casties
parents:
diff changeset
39 </beans>