The Java client's console sample does that: http://code.google.com/p/gdata-java-client/source/browse/trunk/java/sample/health/HealthDemo.java#115
Eric On Apr 16, 1:30 pm, venky <[email protected]> wrote: > Hi, > > I am very much new to google health and in the process of learning it > through some samples given. > > I get the following exception when do the following: > > ProfileFeed feed = service.getFeed(new URL("http://www.google.com/ > health/feeds/profile/ui/"+ profileId), ProfileFeed.class); > > Apr 16, 2009 10:45:38 PM com.google.gdata.util.LogUtils logException > WARNING: [Line 1, Column 2418, element ContinuityOfCareRecord] > com.google.gdata.util.ParseException: Unrecognized element > 'CCRDocumentObjectID'. > Message: Unrecognized element 'CCRDocumentObjectID'. > > at com.google.gdata.util.XmlParser$ElementHandler.getChildHandler > (Unknown Source) > at com.google.gdata.data.ExtensionPoint > $ExtensionHandler.getChildHandler(Unknown Source) > at com.google.gdata.util.XmlParser.startElement(Unknown Source) > at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java: > 597) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement > (AbstractSAXParser.java:491) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement > (XMLDocumentFragmentScannerImpl.java:878) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDispatcher.dispatch > (XMLDocumentFragmentScannerImpl.java:1693) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument > (XMLDocumentFragmentScannerImpl.java:368) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > (XML11Configuration.java:834) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > (XML11Configuration.java:764) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse > (XMLParser.java:148) > at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse > (AbstractSAXParser.java:1242) > at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405) > at com.google.gdata.util.XmlParser.parse(Unknown Source) > at com.google.gdata.util.XmlParser.parse(Unknown Source) > > Basically I am trying to display CCR on my screen, I am using > jdeveloper. Is there any complete code which displays the entire CCR - > client login? > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
