HealthValut Eventing RRS feed

  • Question

  • Hi team,

    We are Microsoft certified partner. we are developing a product using health vault. 

    One of our requirement is whenever changes occurs in the particular record types need to send the notification to the user.

    For which we have used your sample code which is placed in the code project. 

    Here we found one error and could not be resolved at all. Error is "Subscribing application action urls must include at top level domain and at least one sub domain.".

    I have placed the sample code below for your reference,

     NotificationAuthenticationSharedKeyInfo sharedKeyInfo = new NotificationAuthenticationSharedKeyInfo("TestVersion-1");
            sharedKeyInfo.Key = Convert.FromBase64String(ConfigurationManager.AppSettings["HVEventingSharedKeyValue"]);
            CommonSubscriptionData common = new CommonSubscriptionData(new HttpNotificationChannel(new Uri("https://localhost/NotificationHandlerPage.ashx")), sharedKeyInfo);
            HealthRecordItemChangedSubscription subscription = new HealthRecordItemChangedSubscription(common);
            HealthRecordItemChangedFilter filter = new HealthRecordItemChangedFilter();
            _manager.Subscribe(subscription); -- Here i got that error.

    Kindly help us to resolve this problem. Awaiting your feedback. 



    Wednesday, March 12, 2014 8:35 AM