Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <beans xmlns:context="http://www.springframework.org/schema/context"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:jaxws="http://cxf.apache.org/jaxws"
- xmlns="http://www.springframework.org/schema/beans"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-4.0.xsd">
- <!--Enables @Autowired annotation-->
- <context:annotation-config/>
- <!-- Property configurator -->
- <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="locations">
- <list>
- <value>classpath:appcfg/cpas-login-hook/application.properties</value>
- <value>classpath*:appcfg/cpas-login-hook/application-custom.properties</value>
- </list>
- </property>
- </bean>
- <!--<bean id="scaWS" class="eu.ibacz.cepo.core.wsclient.springframework.remoting.jaxws.JaxWsThreadSafePortProxyFactoryBean">-->
- <!--<property name="serviceInterface" value="cz.cpoj.jip.xsd.sca.sca.ScaWS"/>-->
- <!--<property name="wsdlDocumentUrl" value="classpath:wsdl/ScaWS.wsdl"/>-->
- <!--<property name="namespaceUri" value="http://www.cpoj.cz/jip/xsd/sca/sca"/>-->
- <!--<property name="serviceName" value="ScaWS"/>-->
- <!--<property name="endpointAddress" value="${sca.ws.endpoint.address}"/>-->
- <!--<property name="username" value="${sca.ws.username}"/>-->
- <!--<property name="password" value="${sca.ws.password}"/>-->
- <!--<property name="customProperties">-->
- <!--<map>-->
- <!--<!–Timeouty - opakovany pro kazdou potencionalni implementaci JAX-WS–>-->
- <!--<entry key="com.sun.xml.ws.request.timeout">-->
- <!--<value type="java.lang.Integer">${detail.ws.request.timeout}</value>-->
- <!--</entry>-->
- <!--<entry key="com.sun.xml.ws.connect.timeout">-->
- <!--<value type="java.lang.Integer">${detail.ws.connect.timeout}</value>-->
- <!--</entry>-->
- <!--<entry key="com.sun.xml.internal.ws.request.timeout">-->
- <!--<value type="java.lang.Integer">${detail.ws.request.timeout}</value>-->
- <!--</entry>-->
- <!--<entry key="com.sun.xml.internal.ws.connect.timeout">-->
- <!--<value type="java.lang.Integer">${detail.ws.connect.timeout}</value>-->
- <!--</entry>-->
- <!--<!–Pro JBoss je jen jedno nastaveni (vice viz http://community.jboss.org/message/340300)–>-->
- <!--<entry key="org.jboss.ws.timeout">-->
- <!--<value type="java.lang.Integer">${detail.ws.request.timeout}</value>-->
- <!--</entry>-->
- <!--<!–/Timeouty–>-->
- <!--</map>-->
- <!--</property>-->
- <!--<property name="threadPoolSafe" value="true"/>-->
- <!--</bean>-->
- <jaxws:client id="scaWSClient"
- serviceClass="cz.cpoj.jip.xsd.sca.sca.ScaWS"
- wsdlLocation="classpath:wsdl/ScaWS.wsdl"
- serviceName="ScaWS"
- address="${sca.ws.endpoint.address}"
- username="${sca.ws.username}"
- password="${sca.ws.password}">
- <jaxws:properties>
- <!--Timeouty - opakovany pro kazdou potencionalni implementaci JAX-WS-->
- <entry key="com.sun.xml.ws.request.timeout">
- <value type="java.lang.Integer">${detail.ws.request.timeout}</value>
- </entry>
- <entry key="com.sun.xml.ws.connect.timeout">
- <value type="java.lang.Integer">${detail.ws.connect.timeout}</value>
- </entry>
- <entry key="com.sun.xml.internal.ws.request.timeout">
- <value type="java.lang.Integer">${detail.ws.request.timeout}</value>
- </entry>
- <entry key="com.sun.xml.internal.ws.connect.timeout">
- <value type="java.lang.Integer">${detail.ws.connect.timeout}</value>
- </entry>
- <!--Pro JBoss je jen jedno nastaveni (vice viz http://community.jboss.org/message/340300)-->
- <entry key="org.jboss.ws.timeout">
- <value type="java.lang.Integer">${detail.ws.request.timeout}</value>
- </entry>
- <!--/Timeouty-->
- </jaxws:properties>
- </jaxws:client>
- <!-- Looks for any annotated Spring beans -->
- <context:component-scan base-package="eu.ibacz.cepo.core"/>
- <bean class="eu.ibacz.cepo.core.service.ServiceLocatorFactory" factory-method="setInstance" autowire="byType">
- <constructor-arg ref="serviceLocatorImpl"/>
- </bean>
- </beans>
Add Comment
Please, Sign In to add comment