{"id":4273,"date":"2006-02-20T18:15:00","date_gmt":"2006-02-20T18:15:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2006\/02\/20\/updating-tfs-event-listeners-to-work-with-rc-and-rtm-releases\/"},"modified":"2006-02-20T18:15:00","modified_gmt":"2006-02-20T18:15:00","slug":"updating-tfs-event-listeners-to-work-with-rc-and-rtm-releases","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/updating-tfs-event-listeners-to-work-with-rc-and-rtm-releases\/","title":{"rendered":"Updating TFS event listeners to work with RC and RTM releases"},"content":{"rendered":"<p>You may have read before about the fact that the TFS <a href=\"\/johnlawr\/archive\/2006\/01\/31\/520872.aspx\">protocol version number changed<\/a> between beta 3 and RC.&nbsp; 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).<\/p>\n<p>The other thing you&#8217;ll need to update is any web services that you have subscribed to TFS event notifications.&nbsp; For example, I updated the <a href=\"\/buckh\/archive\/2005\/09\/19\/471347.aspx\">Continuous Integration example code from Doug&#8217;s TechEd presentation<\/a>.<\/p>\n<p>In your code, you&#8217;ll need to change the &#8220;02&#8221; to &#8220;03&#8221; in the SoapDocumentMethod attributes.<\/p>\n<p>Old:<\/p>\n<p>&nbsp;&nbsp;&nbsp; [SoapDocumentMethod(&#8220;http:\/\/schemas.microsoft.com\/TeamFoundation\/2005\/06\/Services\/Notification\/<strong><font color=\"#ff0000\">02<\/font><\/strong>\/Notify&#8221;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RequestNamespace = &#8220;http:\/\/schemas.microsoft.com\/TeamFoundation\/2005\/06\/Services\/Notification\/<strong><font color=\"#ff0000\">02<\/font><\/strong>&#8220;)]<\/p>\n<p>New (RC and RTM):<\/p>\n<p>&nbsp;&nbsp;&nbsp; [SoapDocumentMethod(&#8220;http:\/\/schemas.microsoft.com\/TeamFoundation\/2005\/06\/Services\/Notification\/<strong><font color=\"#008000\">03<\/font><\/strong>\/Notify&#8221;, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RequestNamespace = &#8220;http:\/\/schemas.microsoft.com\/TeamFoundation\/2005\/06\/Services\/Notification\/<font color=\"#008000\"><strong>03<\/strong><\/font>&#8220;)]<br><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have read before about the fact that the TFS protocol version number changed between beta 3 and RC.&nbsp; 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&#8217;ll need to [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[6],"class_list":["post-4273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-source-control"],"acf":[],"blog_post_summary":"<p>You may have read before about the fact that the TFS protocol version number changed between beta 3 and RC.&nbsp; 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&#8217;ll need to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/4273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=4273"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/4273\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=4273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=4273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=4273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}