February 20th, 2006

Updating TFS event listeners to work with RC and RTM releases

Buck Hodges
Director of Engineering

You may have read before about the fact that the TFS protocol version number changed between beta 3 and RC.  As a result, you have to upgrade pre-RC clients when you upgrade the server to RC or RTM (the version number for RTM should be the same as RC).

The other thing you’ll need to update is any web services that you have subscribed to TFS event notifications.  For example, I updated the Continuous Integration example code from Doug’s TechEd presentation.

In your code, you’ll need to change the “02” to “03” in the SoapDocumentMethod attributes.

Old:

    [SoapDocumentMethod(“http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/02/Notify”,
                        RequestNamespace = “http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/02“)]

New (RC and RTM):

    [SoapDocumentMethod(“http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03/Notify”,
                        RequestNamespace = “http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03“)]

Author

Buck Hodges
Director of Engineering

Director of Engineering, Azure DevOps

0 comments

Leave a comment

Feedback