Hello,

I am attempting to update a profile entry when authenticated via
ClientLogin.  I am using the Java API.  I am attempting to update a
medication that is part of my profile.  Here is a sample of the code I
am trying to use:

HealthService service = new HealthService("test");
service.setUserCredentials("my_username", "my_password");

ProfileEntry entry  = service.getEntry(new URL("http://www.google.com/
health/feeds/profile/ui/XQ_CpQmW3jA/srEOEWKPXKU"),
ProfileEntry.class);

service.update(new URL("http://www.google.com/health/feeds/profile/ui/
XQ_CpQmW3jA/srEOEWKPXKU"), entry);


The ResourceNotFoundException is thrown whether or not I call

entry.getContinuityOfCareRecord().getXmlBlob().setBlob();

before calling the update and pass some updated XML.  The only case I
can seem to get to work is if I pass an empty string to the above
method call:

entry.getContinuityOfCareRecord().getXmlBlob().setBlob("");

This results in the update succeeding, but all of the CCR data
associated with the entry is erased.

Any help anyone could provide would be greatly appreciated.

Thanks,
Keith

-- 
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en.

Reply via email to