Hi I'm trying to attach a wcf service to the WorkItemChanged event in TFS2010 Beta2. When looking into the JobHistory table i see the following error:
There were errors or warnings during notification delivery. 0/0 emails delivered. 0/4 soap notifications delivered. 4 errors. 0 warnings. ------------------------------- Notification not delivered. Notification: WorkItemChangedEvent (DeliveryType: Soap; Address: http://tfs2010-beta2:8080/TrivadisTest/NotificationService.svc <http://tfs2010-beta2:8080/TrivadisTest/NotificationService.svc> ) Exception: System.Web.Services.Protocols.SoapException: The message could not be processed. This is most likely because the action 'http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03/Notify' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. Is there a change in the schema version? And how can i figure out which schema I need to use? More details: Service config: <system.serviceModel> <services> <service name="Tvd.Vsts.Services.NotificationService.NotificationService" behaviorConfiguration="NotificationServiceBehavior"> <endpoint address="" binding="wsHttpBinding" contract="Tvd.Vsts.Services.NotificationService.INotificationService" /> </service> </services> <behaviors> <serviceBehaviors> <behavior name="NotificationServiceBehavior"> <serviceMetadata httpGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="true"/> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> Service interface: [ServiceContract(Namespace = http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03)] public interface INotificationService { [OperationContract( Action = http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03/Notify, ReplyAction = "*")] [XmlSerializerFormat(Style = OperationFormatStyle.Document)] void Notify(string eventXml, string tfsIdentityXml); } Method: public void Notify(string eventXml, string tfsIdentityXml) { } ------- Thank for your help Nicolas Müggler Consultant Application Development Trivadis AG Europa-Strasse 5 CH-8152 Glattbrugg (Zürich) www.trivadis.com <http://www.trivadis.com/>
_______________________________________________ oztfs mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/oztfs
