locked
How to get the data and update the data from the HealthVault Web Service. RRS feed

Answers

All replies

  • Hi,

    If you have downloaded the Microsoft Health Vault SDK, there will be some sample applications related how to use this methods. Going through the classes which are present in the SDK, you will find the information about the HealthVault Service.

    HealthVault has Java SDK, Ruby,PHP and .Net SDK for creating the HealthVault Applications. To be more specific,in .Net SDK, HealthServiceRequest.cs deals with creating the query for the HealthServiceConnection and version. Like wise, ApplicationConnection.cs has the methods to retrieve the Authorized records.


    Thanks
    Mahesh
    Wednesday, July 8, 2009 11:22 AM
  • Can you tell us a bit more about your scenario? How do you want to use HealthVault?
    Wednesday, July 8, 2009 4:28 PM
  • Also-- take a look at the Getting Started and How-To guides on our MSDN Developer Center.  You've found the low-level documentation of the service and types, but I'd strongly recommend going through the high-level documentation first, or at least in parallel, and then checking out the sample applications per Mahesh above.
    Wednesday, July 8, 2009 5:45 PM
  • Actually I want to integrate the HealthVault in SharePoint.
    I have put the entries in Web.config of that web application of sharepoint site.

    <

     

    add key="ApplicationId" value="0537a9f5-951d-4b8d-a2a2-8e5fc0a1e5e6" />

    <

     

    add key="ShellUrl" value="https://account.healthvault-ppe.com/" />

    <

     

    add key="HealthServiceUrl" value="https://platform.healthvault-ppe.com/platform/" />

    <!--

     

    when we call the SignOut() method on HealthServicePage, it redirects us to the page below -->

    <!--

     

    The redirect page (specified above) uses these keys below to redirect to different

    pages based on the response from the shell

     

    -->

    <

     

    add key="WCPage_ActionHome" value=http://TestServer:8080/default.aspx />

    <

     

    add key="WCPage_ActionAppAuthSuccess" value=http://TestServer:8080/default.aspx />


    After adding this entry i have create one page with inherting HealthservicePage class

    I deployed one webpart on that page.When starting of page it goes for sign in with Healthvault ppe comes back to my SharePoint site. Then it loads HealthServicePage but it is not giving PersonInfo object which is showing null.

    So i am trying to access the Healthvault information through SharePoint Site.


    Moving ahead when i go through Healthvault Service specifications i understand that there various service methods are available through which i can access and update the Healthvault information So I want iformation on Healthvault Service how to use HealthVault Service in the Applications and there are various xsd files also i found but i cant understand how to use that please give me information on the Healthvault Services.




    Thanks Shrivallabh
    Thursday, July 9, 2009 5:24 AM
  • Hi,
    Where can i find the high level documentation.

    Thanks
    Shrivallabh


    Thanks Shrivallabh
    Thursday, July 9, 2009 8:52 AM
  • Hi Shrivallabh,

    By saying high level documents do you mean the design documents? Then I think it is better if you have a look into the C# platform source code itself. You can find the web srevice request creation and decoding of the responses in the HealthServiceRequest.cs file. Looking into the source code should give you a clear idea of how to create a request according to the XML schema of the type.

    In your current implementation even after authorizing the application to some records you are getting the PersonInfo as null, is it right? Just to make sure, were you able to run the sample applications provided along with the SDK successfully? Can you please verify whether the result of the call WebApplicationUtilities .LoadPersonInfoFromCookie( HttpContext .Current) is also null?

    • Edited by Aneesh D Thursday, July 9, 2009 9:08 AM Correcting typo
    Thursday, July 9, 2009 9:07 AM
  • MSDN Developer Center: http://msdn.microsoft.com/en-us/healthvault/default.aspx

    Everything is linked from that page, or one or two levels away from that page, including:

    Getting Started Guide: http://msdn.microsoft.com/en-us/healthvault/bb802509.aspx

    How-To Guides: http://msdn.microsoft.com/en-us/healthvault/cc300157.aspx


    Also, one of our senior developers (Eric) is writing a great HealthVault devlopment series, check it out: http://blogs.msdn.com/ericgu/archive/tags/Tutorial/default.aspx
    Thursday, July 9, 2009 2:44 PM