Skip to content

Instantly share code, notes, and snippets.

@ivanursul
Created March 26, 2015 10:11
Show Gist options
  • Select an option

  • Save ivanursul/0f8390d9c069071a02af to your computer and use it in GitHub Desktop.

Select an option

Save ivanursul/0f8390d9c069071a02af to your computer and use it in GitHub Desktop.
edbo-guides-service.xml
<?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:context="http://www.springframework.org/schema/context"
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/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
">
<!-- Technical beans -->
<bean id="guidesServiceName" class="javax.xml.namespace.QName">
<constructor-arg value="http://edboservice.ua/"/>
<constructor-arg value="EDBOGuides"/>
</bean>
<bean id="edboGuides" class="ua.edboservice.EDBOGuides">
<constructor-arg name="wsdlLocation">
<util:constant static-field="ua.edboservice.EDBOGuides.WSDL_LOCATION" />
</constructor-arg>
<constructor-arg name="serviceName" ref="guidesServiceName" />
</bean>
<bean id="edboGuidesSoap" class="ua.edboservice.EDBOGuidesSoap" factory-bean="edboGuides" factory-method="getEDBOGuidesSoap" />
<bean id="guidesAuthentification" class="org.is.lnu.edbo.model.Authentification">
<property name="applicationKey" value=""></property>
</bean>
<!-- Services -->
<bean id="guidesLoginService" class="org.is.lnu.edbo.service.login.DefaultLoginService">
<property name="soap" ref="edboGuidesSoap"/>
<property name="authentification" ref="guidesAuthentification"/>
</bean>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment