<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>HealthVault Java Library</title><link>http://healthvaultjavalib.codeplex.com/project/feeds/rss</link><description>This is a library that can be used to write applications in Java that use the HealthVault servers.  It does not implement all the functionality that is present in the HealthVault .NET API libraries, but does provide a framework in which that support can be implemented.</description><item><title>New Post: JaxB marshalling</title><link>http://healthvaultjavalib.codeplex.com/discussions/444640</link><description>&lt;div style="line-height: normal;"&gt;I try to use JaxB HealthVault SDK to upload CCD, code sample:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;ObjectFactory factory = new ObjectFactory();
DataXml dataXml = factory.createDataXml();

Thing thing = new Thing();
thing.setTypeId(thingType);
thing.setThingState(ThingState.ACTIVE);
thing.setData(jaxBElement);&lt;/code&gt;&lt;/pre&gt;

but get an error back:&lt;br /&gt;
&lt;blockquote&gt;
unable to marshal type &amp;quot;com.microsoft.hsg.thing.oxm.jaxb.thing.DataXml&amp;quot; as an element because it is missing an @XmlRootElement annotation&lt;br /&gt;
&lt;/blockquote&gt;
I tried to use JAXBElement as wrapper, but then I got this error:&lt;br /&gt;
&lt;blockquote&gt;
&amp;quot;javax.xml.bind&amp;quot; doesnt contain ObjectFactory.class or jaxb.index&lt;br /&gt;
&lt;/blockquote&gt;
What am I doing wrong?&lt;br /&gt;
&lt;/div&gt;</description><author>alextrs</author><pubDate>Wed, 22 May 2013 19:01:00 GMT</pubDate><guid isPermaLink="false">New Post: JaxB marshalling 20130522070100P</guid></item><item><title>Source code checked in, #101930</title><link>http://healthvaultjavalib.codeplex.com/SourceControl/changeset/changes/101930</link><description>missing querypermissions response</description><author>robmay</author><pubDate>Wed, 15 May 2013 16:05:04 GMT</pubDate><guid isPermaLink="false">Source code checked in, #101930 20130515040504P</guid></item><item><title>Source code checked in, #101916</title><link>http://healthvaultjavalib.codeplex.com/SourceControl/changeset/changes/101916</link><description>Added many new types and methods</description><author>robmay</author><pubDate>Wed, 15 May 2013 10:27:15 GMT</pubDate><guid isPermaLink="false">Source code checked in, #101916 20130515102715A</guid></item><item><title>New Post: Certificate validation failure in production</title><link>http://healthvaultjavalib.codeplex.com/discussions/440855</link><description>&lt;div style="line-height: normal;"&gt;Hi all,&lt;br /&gt;
&lt;br /&gt;
Yes, the SSL certificates were misconfigured at HV for a while.  The issue has been resolved.&lt;br /&gt;
&lt;br /&gt;
--Rob&lt;br /&gt;
&lt;/div&gt;</description><author>robmay</author><pubDate>Mon, 06 May 2013 17:05:03 GMT</pubDate><guid isPermaLink="false">New Post: Certificate validation failure in production 20130506050503P</guid></item><item><title>New Post: Certificate validation failure in production</title><link>http://healthvaultjavalib.codeplex.com/discussions/440855</link><description>&lt;div style="line-height: normal;"&gt;Hey Ali,&lt;br /&gt;
&lt;br /&gt;
I have been seeing the same issue the past few days when trying to perform drop-offs.  The issue is intermittent.  Sometimes I get the same exception as you noted above:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Other times I'll see this one:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I assume the root cause is the same.  I have retries built in.  Sometimes the same request will go through fine on the 2nd or 3rd retry, sometimes not.&lt;br /&gt;
&lt;br /&gt;
I came across this post from 2006 &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/adcenterdev/thread/c36663e3-726b-4ccd-a0fe-9a1f0fd0fe38/" rel="nofollow"&gt;http://social.msdn.microsoft.com/Forums/en-US/adcenterdev/thread/c36663e3-726b-4ccd-a0fe-9a1f0fd0fe38/&lt;/a&gt; which recommends manually importing the SSL certificate using keytool.  I have done this on a test system and it appears to resolve the issue.  But I am not 100% sure as the issue is intermittent for me.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
BJ&lt;br /&gt;
&lt;/div&gt;</description><author>xadhatter</author><pubDate>Wed, 24 Apr 2013 15:30:33 GMT</pubDate><guid isPermaLink="false">New Post: Certificate validation failure in production 20130424033033P</guid></item><item><title>New Post: Certificate validation failure in production</title><link>http://healthvaultjavalib.codeplex.com/discussions/440855</link><description>&lt;div style="line-height: normal;"&gt;Hi.&lt;br /&gt;
&lt;br /&gt;
Does anyone know if there has been a recent change in the platform.healthvault.com certificate? Recently my application is failing when it wants to sync its data with HealthVault and I get &lt;br /&gt;
&lt;br /&gt;
sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed&lt;br /&gt;
&lt;br /&gt;
Many thanks,&lt;br /&gt;
Ali.&lt;br /&gt;
&lt;/div&gt;</description><author>naddaf</author><pubDate>Fri, 19 Apr 2013 04:01:37 GMT</pubDate><guid isPermaLink="false">New Post: Certificate validation failure in production 20130419040137A</guid></item><item><title>New Post: Custom Data Type</title><link>http://healthvaultjavalib.codeplex.com/discussions/438112</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I'd like to know how to create a wrapper for the custom data type in the Java SDK. There is a pointer for this in the.NET sdk - &lt;a href="http://msdn.microsoft.com/en-us/library/ff803581.aspx" rel="nofollow"&gt;http://msdn.microsoft.com/en-us/library/ff803581.aspx&lt;/a&gt;. I'm new to the Java SDK and would like a heads up for this. &lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;/div&gt;</description><author>marauder89</author><pubDate>Wed, 27 Mar 2013 04:06:33 GMT</pubDate><guid isPermaLink="false">New Post: Custom Data Type 20130327040633A</guid></item><item><title>New Post: Application id for android application</title><link>http://healthvaultjavalib.codeplex.com/discussions/437857</link><description>&lt;div style="line-height: normal;"&gt;Sir&lt;br /&gt;
I created an app id with this UK instance but that one also not working.my application gives error message &amp;quot;invalid application identifier&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
also when i try with this master appid in US instance, it is working only for one account. for other accounts it doesn't allow access.&lt;br /&gt;
&lt;/div&gt;</description><author>ashish23</author><pubDate>Tue, 26 Mar 2013 19:18:20 GMT</pubDate><guid isPermaLink="false">New Post: Application id for android application 20130326071820P</guid></item><item><title>New Post: Application id for android application</title><link>http://healthvaultjavalib.codeplex.com/discussions/437857</link><description>&lt;div style="line-height: normal;"&gt;Sir&lt;br /&gt;
I created an app id with this UK instance but that one also not working.my application gives error message &amp;quot;invalid application identifier&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
also when i try with this master appid in US instance, it is working only for one account. for other accounts it doesn't allow access.&lt;br /&gt;
&lt;/div&gt;</description><author>ashish23</author><pubDate>Tue, 26 Mar 2013 19:14:20 GMT</pubDate><guid isPermaLink="false">New Post: Application id for android application 20130326071420P</guid></item><item><title>New Post: Application id for android application</title><link>http://healthvaultjavalib.codeplex.com/discussions/437857</link><description>&lt;div style="line-height: normal;"&gt;Sir&lt;br /&gt;
I created an app id with this UK instance but that one also not working.my application gives error message &amp;quot;invalid application identifier&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
also when i try with this master appid in US instance, it is working only for one account. for other accounts it doesn't allow access.&lt;br /&gt;
&lt;/div&gt;</description><author>ashish23</author><pubDate>Tue, 26 Mar 2013 18:38:38 GMT</pubDate><guid isPermaLink="false">New Post: Application id for android application 20130326063838P</guid></item><item><title>New Post: Application id for android application</title><link>http://healthvaultjavalib.codeplex.com/discussions/437857</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
That master application was configured in the US PPE instance.  You can create your own master-app-id in the UK instance here:  &lt;a href="https://config.healthvault-ppe.co.uk" rel="nofollow"&gt;https://config.healthvault-ppe.co.uk&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>robmay</author><pubDate>Tue, 26 Mar 2013 18:11:29 GMT</pubDate><guid isPermaLink="false">New Post: Application id for android application 20130326061129P</guid></item><item><title>New Post: Application id for android application</title><link>http://healthvaultjavalib.codeplex.com/discussions/437857</link><description>&lt;div style="line-height: normal;"&gt;sir&lt;br /&gt;
&lt;br /&gt;
I am using the following settings in the weighter application of health vault:&lt;br /&gt;
&lt;br /&gt;
 settings.setMasterAppId(&amp;quot;c6ba979f-c342-4408-a2bc-0dfb43b2bf8d&amp;quot;);&lt;br /&gt;
  settings.setServiceUrl(&amp;quot;&lt;a href="https://platform.healthvault-ppe.co.uk/platform/wildcat.ashx&amp;quot;);" rel="nofollow"&gt;https://platform.healthvault-ppe.co.uk/platform/wildcat.ashx");&lt;/a&gt;&lt;br /&gt;
   settings.setShellUrl(&amp;quot;&lt;a href="https://account.healthvault-ppe.co.uk/&amp;quot;);" rel="nofollow"&gt;https://account.healthvault-ppe.co.uk/");&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
but it is not connecting to health vault site.it shows error  &amp;quot;Invalid Application Identifier&amp;quot;.&lt;br /&gt;
&lt;/div&gt;</description><author>ashish23</author><pubDate>Mon, 25 Mar 2013 08:47:56 GMT</pubDate><guid isPermaLink="false">New Post: Application id for android application 20130325084756A</guid></item><item><title>Created Issue: How to use the Application ID [16047]</title><link>http://healthvaultjavalib.codeplex.com/workitem/16047</link><description>Hi,&lt;br /&gt;  Can anyone help me with this basic issue. I have created and registered an Application using https&amp;#58;&amp;#47;&amp;#47;config.healthvault-ppe.com&amp;#47; and a public cert. What is the URL I should use to access the application. &lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</description><author>vupadhyaya</author><pubDate>Mon, 18 Feb 2013 12:40:54 GMT</pubDate><guid isPermaLink="false">Created Issue: How to use the Application ID [16047] 20130218124054P</guid></item><item><title>New Post: Blood Pressure measurements rejected</title><link>http://healthvaultjavalib.codeplex.com/discussions/432473</link><description>&lt;div style="line-height: normal;"&gt;You are right! How many times did I look at that and somehow see it selected? Wonder why it appeared in my list of selected measurements? But thanks. This should solve the 'mystery'&lt;br /&gt;
&lt;/div&gt;</description><author>brianreinhold</author><pubDate>Wed, 13 Feb 2013 00:08:48 GMT</pubDate><guid isPermaLink="false">New Post: Blood Pressure measurements rejected 20130213120848A</guid></item><item><title>New Post: Blood Pressure measurements rejected</title><link>http://healthvaultjavalib.codeplex.com/discussions/432473</link><description>&lt;div style="line-height: normal;"&gt;Hi Brian,&lt;br /&gt;
&lt;br /&gt;
I checked with HV and your application does not have offline permission to the bp type:  ca3c57f4-f4c1-4e15-be67-0a3caf5414ed.  It does have online permission, however.  The XML in your requests uses offline permission.  If you go to the config center &lt;a href="https://config.healthvault-ppe.com/EditOfflineRules.aspx?appid=72c2b58a-a798-43ec-99b7-72e8e530977f" rel="nofollow"&gt;https://config.healthvault-ppe.com/EditOfflineRules.aspx?appid=72c2b58a-a798-43ec-99b7-72e8e530977f&lt;/a&gt; you should be able to edit your offline rules.&lt;br /&gt;
&lt;br /&gt;
If you make any modifications, it may take up to 20 minutes for the changes to take effect.&lt;br /&gt;
&lt;br /&gt;
My unit test code uses the JAXB bindings which take care of the type-id madness.&lt;br /&gt;
&lt;br /&gt;
--Rob&lt;br /&gt;
&lt;/div&gt;</description><author>robmay</author><pubDate>Tue, 12 Feb 2013 21:13:41 GMT</pubDate><guid isPermaLink="false">New Post: Blood Pressure measurements rejected 20130212091341P</guid></item><item><title>New Post: Blood Pressure measurements rejected</title><link>http://healthvaultjavalib.codeplex.com/discussions/432473</link><description>&lt;div style="line-height: normal;"&gt;Logging onto HV to see what I am configured for with respect to measurements shows&lt;br /&gt;
&lt;br /&gt;
Measurements | Reason for access &lt;br /&gt;
Blood Glucose Measurement, Blood Oxygen Saturation, Blood Pressure Measurement, Body Composition, Body Dimension, HbA1C Measurement, Heart Rate, Height Measurement, Peak Flow Measurement, Vital Signs, Weight Measurement &lt;br /&gt;
&lt;br /&gt;
and blood pressure is there. My application manager has the bp measurement checked in both the offline and online rules. In fact all the measurement items that are checked are in the list.&lt;br /&gt;
&lt;br /&gt;
Maybe there is something wrong with my xml&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;        &amp;lt;thing&amp;gt;
            &amp;lt;type-id&amp;gt;ca3c57f4-f4c1-4e15-be67-0a3caf5414ed&amp;lt;/type-id&amp;gt;
            &amp;lt;data-xml&amp;gt;
                &amp;lt;blood-pressure&amp;gt;
                    &amp;lt;when&amp;gt;
                        &amp;lt;date&amp;gt;
                            &amp;lt;y&amp;gt;2013&amp;lt;/y&amp;gt;&amp;lt;m&amp;gt;02&amp;lt;/m&amp;gt;&amp;lt;d&amp;gt;07&amp;lt;/d&amp;gt;
                        &amp;lt;/date&amp;gt;
                        &amp;lt;time&amp;gt;
                            &amp;lt;h&amp;gt;20&amp;lt;/h&amp;gt;&amp;lt;m&amp;gt;47&amp;lt;/m&amp;gt;&amp;lt;s&amp;gt;23&amp;lt;/s&amp;gt;&amp;lt;f&amp;gt;0&amp;lt;/f&amp;gt;
                        &amp;lt;/time&amp;gt;
                    &amp;lt;/when&amp;gt;
                    &amp;lt;systolic&amp;gt;105&amp;lt;/systolic&amp;gt;
                    &amp;lt;diastolic&amp;gt;70&amp;lt;/diastolic&amp;gt;
                &amp;lt;/blood-pressure&amp;gt;
            &amp;lt;/data-xml&amp;gt;
        &amp;lt;/thing&amp;gt;&lt;/code&gt;&lt;/pre&gt;

that I am not seeing. The HV validator does not complain. My understanding from others is that HV has been having some problems in the past weeks. Perhaps I should just try again and see if it works.&lt;br /&gt;
&lt;br /&gt;
How does your unit code test above create the id (ca3c57f4-f4c1-4e15-be67-0a3caf5414ed) for bp?&lt;br /&gt;
&lt;/div&gt;</description><author>brianreinhold</author><pubDate>Tue, 12 Feb 2013 09:32:01 GMT</pubDate><guid isPermaLink="false">New Post: Blood Pressure measurements rejected 20130212093201A</guid></item><item><title>New Post: Blood Pressure measurements rejected</title><link>http://healthvaultjavalib.codeplex.com/discussions/432473</link><description>&lt;div style="line-height: normal;"&gt;I mispoke.  HV uses a zero based index.  The error indicates you don't have access to blood pressure.  Do you have blood pressure in your offline rules in &lt;a href="https://config.healthvault-ppe.com" rel="nofollow"&gt;https://config.healthvault-ppe.com&lt;/a&gt;?&lt;br /&gt;
&lt;br /&gt;
I created a unit test to recreate your problem and everything runs fine for me, so it points to an authorization problem.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;@Test
    public void PutVitalandBP() throws Exception 
    {
        BloodPressure bp = new BloodPressure();
        bp.setWhen(DateTime.fromCalendar(Calendar.getInstance()));
        bp.setDiastolic(120);
        bp.setSystolic(90);
        
        Thing bpThing = new Thing();
        bpThing.setData(bp);
         
        VitalSigns vs = new VitalSigns();
        vs.setWhen(DateTime.fromCalendar(Calendar.getInstance()));
        
        Thing vsThing = new Thing();
        vsThing.setData(vs);
         
        SimpleRequestTemplate requestTemplate = new SimpleRequestTemplate(
            ConnectionFactory.getConnection());
        requestTemplate.setPersonId(&amp;quot;75ac2c6c-c90e-4f7e-b74d-bb7e81787beb&amp;quot;);
        requestTemplate.setRecordId(&amp;quot;8c390004-3d41-4f5c-8f24-4841651579d6&amp;quot;);
        
        PutThingsRequest request = new PutThingsRequest();
        request.getThing().add(vsThing);
        request.getThing().add(bpThing);
        
        
        PutThingsResponse response = (PutThingsResponse)requestTemplate.makeRequest(request);
         
    }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>robmay</author><pubDate>Tue, 12 Feb 2013 02:21:33 GMT</pubDate><guid isPermaLink="false">New Post: Blood Pressure measurements rejected 20130212022133A</guid></item><item><title>New Post: Blood Pressure measurements rejected</title><link>http://healthvaultjavalib.codeplex.com/discussions/432473</link><description>&lt;div style="line-height: normal;"&gt;Yes I have looked at that. The information is:&lt;br /&gt;
&lt;br /&gt;
Conditions | Reason for access&lt;br /&gt;
Medical Device&lt;br /&gt;
Custom Data | Reason for access&lt;br /&gt;
Application-Specific Information&lt;br /&gt;
Files | Reason for access&lt;br /&gt;
Clinical Document Architecture (CDA), Continuity of Care Document (CCD)&lt;br /&gt;
Measurements | Reason for access&lt;br /&gt;
Blood Glucose Measurement, Blood Oxygen Saturation, Blood Pressure Measurement, Body Composition, Body Dimension, HbA1C Measurement, Heart Rate, Height Measurement, Peak Flow Measurement, Vital Signs, Weight Measurement&lt;br /&gt;
Medications | Reason for access&lt;br /&gt;
Medication&lt;br /&gt;
Personal Profile | Reason for access&lt;br /&gt;
Basic Demographic Information&lt;br /&gt;
&lt;br /&gt;
So vital signs are included in the permissions. I am also able to send other measurements as vital signs, for example the temperature above.&lt;br /&gt;
&lt;/div&gt;</description><author>brianreinhold</author><pubDate>Tue, 12 Feb 2013 00:46:16 GMT</pubDate><guid isPermaLink="false">New Post: Blood Pressure measurements rejected 20130212124616A</guid></item><item><title>New Post: Blood Pressure measurements rejected</title><link>http://healthvaultjavalib.codeplex.com/discussions/432473</link><description>&lt;div style="line-height: normal;"&gt;Sending multiple Things in one PutThings request is totally normal.  Have you checked if your application has access to the vital-signs thing type here:  &lt;a href="https://account.healthvault-ppe.com/Apps" rel="nofollow"&gt;https://account.healthvault-ppe.com/Apps&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>robmay</author><pubDate>Tue, 12 Feb 2013 00:25:21 GMT</pubDate><guid isPermaLink="false">New Post: Blood Pressure measurements rejected 20130212122521A</guid></item><item><title>New Post: Vital Signs versus other measurement types</title><link>http://healthvaultjavalib.codeplex.com/discussions/432567</link><description>&lt;div style="line-height: normal;"&gt;Okay, will do. &lt;br /&gt;
&lt;/div&gt;</description><author>brianreinhold</author><pubDate>Tue, 12 Feb 2013 00:12:50 GMT</pubDate><guid isPermaLink="false">New Post: Vital Signs versus other measurement types 20130212121250A</guid></item></channel></rss>