view src/main/webapp/WEB-INF/beans.xml @ 2:ebcc41509c2e

new package names
author casties
date Fri, 06 May 2011 10:16:12 +0200
parents 6a163b1bcd4d
children
line wrap: on
line source

<?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:jaxrs="http://cxf.apache.org/jaxrs"
      xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/jaxrs
http://cxf.apache.org/schemas/jaxrs.xsd
">

  <description>
    Configuration digilibservice
  </description>
  
  <import resource="classpath:META-INF/cxf/cxf.xml"/>
  <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" />
  <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
  <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
  
  <!-- Here the REST-Service Endpoint Beans -->
  <bean id="scaler" class="info.textgrid.middleware.digilib.services.scaler.Scaler">
  </bean>

    <jaxws:endpoint id="digilibservice" wsdlLocation="/WEB-INF/DigilibService.wsdl" 
    implementor="#scaler" address="/service">
    </jaxws:endpoint>

  <!-- Rest-Endpoint Configuration
  <jaxrs:server id="root" address="/rest">
        <jaxrs:serviceBeans>
            <ref bean="rest" />
        </jaxrs:serviceBeans>
  </jaxrs:server>  -->
                  
</beans>