Files
alfresco-community-repo/source/java/web-services-application-context.xml
Roy Wetherall 8182711dda - Added action web service implementation and WSDL
- Web service client code moved into separate project, removing all depandencies on other projects removed
- Added a number of utility classe to help with common client tasks
- Added framework so the target web service server can be easily changed
- Test data is now created via web service API, thus the bootstrap process that was confussing people has been removed.
- Refactored all unit tests and samples to work with new test data and utility classes
- Added action service unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-18 09:51:53 +00:00

166 lines
5.5 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!-- Axis handler to validate the ticket sent with the web service request -->
<bean id="ticketCallbackHandler" class="org.alfresco.repo.webservice.axis.TicketCallbackHandler">
<property name="authenticationService">
<ref bean="authenticationService"/>
</property>
</bean>
<!-- Cache to use to store QuerySession instances -->
<bean id="querySessionCache" class="org.alfresco.repo.cache.EhCacheAdapter">
<property name="cache">
<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean" >
<property name="cacheName">
<value>webservice.QuerySessionCache</value>
</property>
</bean>
</property>
</bean>
<!-- CLM Util bean -->
<bean id="CMLUtil" class="org.alfresco.repo.webservice.CMLUtil">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="namespaceService"/>
</property>
<property name="copyService">
<ref bean="copyService"/>
</property>
</bean>
<!-- Implementations of each exposed web service -->
<bean id="authenticationWebService" class="org.alfresco.repo.webservice.authentication.AuthenticationWebService">
<property name="authenticationService">
<ref bean="authenticationService"/>
</property>
</bean>
<bean id="repositoryWebService" class="org.alfresco.repo.webservice.repository.RepositoryWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="namespaceService"/>
</property>
<property name="dictionaryService">
<ref bean="dictionaryService"/>
</property>
<property name="querySessionCache">
<ref bean="querySessionCache"/>
</property>
<property name="cmlUtil">
<ref bean="CMLUtil"/>
</property>
</bean>
<bean id="contentWebService" class="org.alfresco.repo.webservice.content.ContentWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="namespaceService"/>
</property>
</bean>
<bean id="authoringWebService" class="org.alfresco.repo.webservice.authoring.AuthoringWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="namespaceService"/>
</property>
<property name="checkOutCheckinService">
<ref bean="checkOutCheckInService"/>
</property>
<property name="lockService">
<ref bean="lockService"/>
</property>
<property name="versionService">
<ref bean="versionService"/>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
</property>
</bean>
<bean id="classificationWebService" class="org.alfresco.repo.webservice.classification.ClassificationWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="namespaceService"/>
</property>
<property name="dictionaryService">
<ref bean="dictionaryService"/>
</property>
<property name="categoryService">
<ref bean="CategoryService"/>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
</property>
</bean>
<bean id="actionWebService" class="org.alfresco.repo.webservice.action.ActionWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="namespaceService"/>
</property>
<property name="actionService">
<ref bean="actionService"/>
</property>
<property name="ruleService">
<ref bean="ruleService"/>
</property>
<property name="dictionaryService">
<ref bean="dictionaryService"/>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
</property>
</bean>
</beans>