by trent
15. November 2010 19:44
This last weekend I configure SharePoint 2010 to consume an Alfresco content repository via CMIS. Although I managed to get everything working, I am still working through some additional details and bugs that I will share here.
For more information on deploying CMIS to SharePoint 2010 please see the SharePoint 2010 Documentation, and download/install the Administration Toolkit.
http://technet.microsoft.com/en-us/library/ff934619.aspx
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=718447d8-0814-427a-81c3-c9c3d84c456e&displaylang=en
Single Aggregated WSDL
To connect the SharePoint consumer to a CMIS producer, the first thing you need to do after dropping the web part on the page, is specify a WSDL address. Although there are a number of services and endpoints that a CMIS producer can expose the SharePoint consumer requires all services to be aggregated in a single WSDL. Alfresco on the other hand exposes it's SOAP CMIS services as separate WSDL's, so you will first need to create an aggregated WSDL of the Alfresco service port addresses for SharePoint to consume. The SharePoint 2010 CMIS consumer really only looks at the Service/Port part of the WSDL. It calls ServiceDescription.Read to load the WSDL, and then simply reads the service name and binding location in to a dictionary.
The Aggregated CMIS WSDL I used is attached to this post, you can simply download it, replace the endpoint addresses (http://192.168.144.129:8080) with yours, place it in the root tomcat directory your alfresco instance in running in and point the SharePoint CMIS Consumer at that. In my case, I placed it in the following directory.
/opt/alfresco-3.4.b/tomcat/webapps/ROOT/
Authentication
You will need to upload the WSDL to a location that does not require authentication. If you upload this to the Alfresco repository, the SharePoint 2010 CMIS consumer will make some assumptions on the security settings, and will not send the the necessary WS-Security headers.
I am still working through some of the following:
- Problem creating a folder from SharePoint
- Exception in custom views
- Strange session timeout issue causing an exception
- Completely testing the solution
- Dynamic aggregated WSDL for Alfresco?
- Determine if one already exists in Alfresco that I may have overlooked
- It has been some time since I have worked with Java
CmisAggregated.zip
SharePoint CMIS Consumer Part Configuration

SharePoint 2010 CMIS Consumer Viewing Alfresco Repository

Alfresco Document Repository

3719c771-02ed-4f67-b18c-8b682c15c846|2|5.0
Tags:
by trent
13. November 2010 15:29
Hello and welcome to the re-release of my BLOG where I share interesting pieces of information from the many projects I am working on. These projects primarily cover SharePoint, Azure, all things mobile and often other random technologies. At the moment I currently have SharePoint 2010 consuming information from an Alfresco repository via CMIS. I am working out some more details and will post a BLOG post covering this soon.
986f164c-0fc7-4186-841d-097b2e703beb|0|.0
Tags: