Thanks Alex I have posted my items through batch upload .. but my
items are visible only after 24 hours is their any way to see my items
after posting??

On Oct 9, 5:52 pm, Alex <[email protected]> wrote:
> You can check the Customer Tool example, as defined 
> inhere:http://code.google.com/apis/base/samples/java/java-sample-customertoo...
> You can also check the details about batch operations in the sample 
> here:http://code.google.com/apis/base/samples/java/java-sample-customertoo...
> You should download the sample and see how the batch request is made.
>
> At a first glance,  for batch requests you should not execute
> myService.getFeed(), 
> but:http://code.google.com/apis/gdata/javadoc/com/google/api/gbase/client...,
> F)
>
> Step by step:
> (1) Build a feed that contains some of your entries.
> (2) Call myService.batch(feedUrlFactory.getItemsBatchFeedURL(),
> myNewlyBuiltFeed);
>
> Alex
>
> On Fri, Oct 9, 2009 at 7:55 AM, ravichandra <[email protected]>wrote:
>
>
>
>
>
> > I have a Java program that inserts my product feed on a daily
> > basis .it work fine but it is very slow.So we tried batch upload and
> > got this error.
>
> > com.google.gdata.util.InvalidEntryException: Bad Request
> > <errors>
> > <error type="request" reason="Invalid document id: not a number"/>
> > </errors>
>
> > The code is as follows:
>
> >                GoogleBaseService myService = getmyService();
> >                GoogeBaseFeed feed =
> > myService.getFeed(FeedURLFactory.getDefault
> > ().getItemsBatchFeedURL());
>
> > I have tried with the following code snippet also
>
> > URL url = new URL("http://www.google.com/base/feeds/items";);
> > GoogleBaseFeed feed = myService.getFeed(url);
>
> > But I am not able to view my items in my dash board.
>
> > Any help would be greatly appreciated.  Please let me know if you
> > require more information.  Thanks.
>
> --
> Alex Dovlecel, Google Switzerland GmbH
> Company Identifikationsnummer: CH-020.4.028.116-1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" 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/google-base-data-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to