Someone was asking about a Project Server 2010 integration with a third party app at her company so I thought of documenting this on this post.
API
Project Server 2010 has an API called the Project Server Interface (PSI). Project Professional 2010, Project Web App, LOB, and other third-party applications use the PSI to access Project Server data in the Draft, Published, and Archive databases. The PSI is available through WCF services and through ASMX Web service calls by back-end LOB applications, or through a PSI proxy. Project Server 2010 public events enable development of custom processes such as adding and enforcing business rules, validation, data processing, notification services, and workflow. Note: It is highly recommended to use the WCF services instead of the older ASMX services as it supports a lot of the WS-* standards.
How To
To get a DEV environment setup, see this link.
In order to have a continuously running client to respond to events from Project Server follow these steps:
1. Create a Windows Service
2. Create a proxy for the Project Server WCF web service
3. Add code to respond to events
4. Do your stuff
5. Add a setup project to your final project and build an MSI to deploy the Windows Service
References
Projectd Server 2010 SDK
Project Server Interface Overview
http://msdn.microsoft.com/en-us/library/ms504195.aspx#pj14_Programmability_Scheduling
1 comments:
I always welcome feedback from my readers.