Jul 18, 2011 at 9:36 PM
Edited Jul 18, 2011 at 10:22 PM
|
So with the blog, I followed it step by step and added the new extra section.
String infoFile = "<info><group max=\"100\"><filter><type-id>" +
File.TYPE +
"</type-id></filter><format><section>core</section><section>blobpayload</section> " +
"<xml/></format></group></info>";
But it gives me a xml parse error saying that section element is invalid and bobpayload is invalid according to its datatypes.....
Also in the documentation under "http://developer.healthvault.com/sdk/docs/urn.com.microsoft.wc.methods.GetThings.ThingSectionSpec.1.html" I don't see any bobpayload enum at all. Am I missing something here?
Just to add to the bloggers curiosity, when I add the filter "<section>otherdata</section>" it gives me the response in
<data-other content-type="text/plain" content-encoding="base64">***Content here is in Base64 format***</data-other>
which I encode it back to my format.
So I would like to know which is a cleaner method of doinf stuff? the blog or should I go ahead with "otherdata"?
|