All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spring.restServerConfig.xml Maven / Gradle / Ivy

Go to download

Entando Engine: an agile, modern and user-centric open source Portal platform.

There is a newer version: 6.2.27
Show newest version
<?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"
	   xmlns:util="http://www.springframework.org/schema/util"
	   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
	         http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
    
	<import resource="classpath:META-INF/cxf/cxf.xml" />
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
    
	<jaxrs:server id="ApiRestStatusServer" serviceClass="org.entando.entando.aps.system.services.api.server.ApiRestStatusServer"
				  address="/apistatus">
		<jaxrs:extensionMappings>
			<entry key="json" value="application/json" />
			<entry key="xml" value="application/xml" />
		</jaxrs:extensionMappings>
		<jaxrs:providers>
			<ref bean="jaxbProvider"/>
			<ref bean="jsonProvider"/>
		</jaxrs:providers>
	</jaxrs:server>
    
	<jaxrs:server id="ApiRestServer" serviceClass="org.entando.entando.aps.system.services.api.server.ApiRestServer"
				  address="/rs">
		<jaxrs:extensionMappings>
			<entry key="json" value="application/json" />
			<entry key="xml" value="application/xml" />
			<entry key="jsonp" value="application/javascript" />
		</jaxrs:extensionMappings>
		<jaxrs:providers>
			<ref bean="jaxbProvider"/>
			<ref bean="jsonProvider"/>
			<ref bean="jsonpProvider"/>
		</jaxrs:providers>
	</jaxrs:server>
    
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy