views:

1639

answers:

2

We use a lot of of python to do much of our deployment and would be handy to connect to our TFS server to get information on iteration paths, tickets etc. I can see the webservice but unable to find any documentation. Just wondering if anyone knew of anything?

Thanks, MattD

+10  A: 

Hi Matt. The web services are not documented by Microsoft as it is not an officially supported route to talk to TFS. The officially supported route is to use their .NET API.

In the case of your sort of application, the course of action I usually recommend is to create your own web service shim that lives on the TFS server (or another server) and uses their API to talk to the server but allows you to present the data in a nice way to your application.

Their object model simplifies the interactions a great deal (depending on what you want to do) and so it actually means less code over-all - but better tested and testable code and also you can work around things such as the NTLM auth used by the TFS web services.

Hope that helps,

Martin.

Martin Woodward
Just posted the question below but thought I add comment here in case Martin Woodward gets pinged when a comment is added... I figure he probably knows the answer. http://stackoverflow.com/questions/3682140/are-tfs-2010-a-k-a-microsoft-alm-2010-web-services-exposed-documented
the empirical programmer
Thanks! Just added a comment to say that I agree with Jeff. The Work Item Webservices would be a lot more work than you might think to do what the questioner wanted to do (sync workitems between TFS and another system). The TFS integration Platform project on CodePlex is definately the way to go as that builds on top of the TFS work item object model and gives you a much nicer interface for doing exactly what they want to do
Martin Woodward
A: 

Since the web services are not recommonded way to speak to a web service. My question is , Does using the webservice APIs expose a security risk ?

SudheerKovalam
No - everything uses the web services behind the scene, it is secure. Just pretty complicated.
Jeff Wilcox
Any hints on how do i get started ?
SudheerKovalam
Wireshark and a strong cup of coffee.
Martin Woodward