Curious about whats under the HealthVault SDK’s hood?

HealthVault SDK provides a very useful feature to check under its hood! One can turn-on the tracing for the SDK very easily. The trace log is very helpful for

  • Debugging the SDK
  • Looking at the raw-xml exchanged between your application and HealthVault platform. The Raw XML in turn is very useful if you are:
    • Trying to write-xml in the thing types
    • Trying to write a HealthVault wrapper library in you favorite language
    • Just curious to look under the hood:)

To look at the trace log add the following in configuration section of your web.config. One you run you application with settings below, a sdk.log file will be generated in the base directory of the website. You can also provide an absolute path for sdk.log to a directory where you web process has a write access.

  
    
      

          
          
        
      
    
    
      
      
      
      
    
  

NOTE: In case the file doesn’t get generated, make sure your web process has write access to the directory sdk.log is getting generated in.

5 comments ↓

#1 Lighting it up! — Reviving The Health Revolution on 06.02.08 at 3:24 am

[...] call. You can get the xml for such a call from HealthVault SDK, the process is described here. However for ease of testing i’m appending know good calls [...]

#2 Rob on 06.25.08 at 5:59 pm

This needs to be in the *appSettings* section.

#3 Rob on 06.25.08 at 6:11 pm

Nevermind that last comment. It shouldn’t be in the *appsettings* section, but in the root of the *configuration* section.

However, the tags should not be uppercase. Changing them all to lowercase fixed it for me.

#4 vaibhavb on 06.25.08 at 6:20 pm

My wordpress plugin dpSyntaxhighlighter uppercases the tags, its weird that it uppercases them in IE but works fine in FireFox. Thanks for pointing this out.

#5 PutThings for OfflineAccess — Reviving The Health Revolution on 03.25.09 at 4:39 pm

[...] Related Article: Whats Under the hood of HealthVault SDK [...]

Leave a Comment