Mercurial > hg > digilibservice
view src/main/webapp/WEB-INF/beans.xml @ 3:1baf94752fe8
tgcrud dependency in pom
author | casties |
---|---|
date | Fri, 06 May 2011 10:30:07 +0200 |
parents | ebcc41509c2e |
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>