I'm not having much success following the "Working with record feeds"
instructions/tutorial:

http://code.google.com/apis/spreadsheets/docs/3.0/developers_guide_java.html#TableRecordFeeds

I'm using the Java API.

The following TableEntry class does not have a method called
getRecordFeedUrl. E.G:

tableEntry.getRecordFeedUrl();

There's a similar method in the feedUrlFactory class. E.G:

feedUrlFactory.getRecordFeedUrl(spreadSheetEntry.getKey(),
tableEntry.getId());

Unfortunately this method returns a URL that is not usable by the
service.getFeed method.

I.E. The document (link above) indicates I should be able to do the
following:

URL recordFeedUrl = tableEntry.getRecordFeedUrl();
RecordFeed feed = service.getFeed(recordFeedUrl, RecordFeed.class);

I've found the API I have (which apparently is the current) does not
allow this; the first line above will not compile.

The following possible substitution does not work:

URL recordFeedUrl = feedUrlFactory.getRecordFeedUrl
(spreadSheetEntry.getKey(), tableEntry.getId());
RecordFeed feed = service.getFeed(recordFeedUrl, RecordFeed.class);

This generates the following runtime exception:

com.google.gdata.util.ServiceException: Internal Server Error

The Spreadsheet, Worksheet and Table exists. Everything else works but
I can't update/add records to the table.






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to