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

.ws.client-core.1.0.0.source-code.client-core-context.xml Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<b:beans xmlns="http://www.springframework.org/schema/integration"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:b="http://www.springframework.org/schema/beans"
             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://www.springframework.org/schema/integration
                  http://www.springframework.org/schema/integration/spring-integration.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

    <b:import resource="classpath:ws-core-context.xml"/>

    <b:bean id="defaultErrorHandlers" class="org.bongiorno.ws.core.client.readers.errors.ErrorResponseErrorHandler">
        <b:constructor-arg name="errorReaderMap">
            <util:map id="errorReaderMap">
                <b:entry  key="application/json">
                    <b:bean class="org.bongiorno.ws.core.client.readers.errors.JsonErrorReader"/>
                </b:entry>
                <b:entry  key="application/xml" >
                    <b:bean class="org.bongiorno.ws.core.client.readers.errors.XmlErrorReader"/>
                </b:entry>
            </util:map>
        </b:constructor-arg>
        <b:constructor-arg name="defaultErrorReader">
            <b:bean class="org.bongiorno.ws.core.client.readers.errors.TextErrorReader"/>
        </b:constructor-arg>
    </b:bean>



</b:beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy